Announcement Announcement Module
Collapse
No announcement yet.
Export runnable jar from eclipse Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Export runnable jar from eclipse

    I use eclipse Indigo release (not the spring tools suite).

    I have a "java application project" using spring.

    I would like to export it as a runnable jar from the "export" command in eclipse.
    I have the following error when I execute the jar :

    Code:
    Exception in thread "main" org.springframework.beans.factory.parsing.BeanDefinitionParsingException: 
    Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/context]
    Offending resource: class path resource [applicationContext.xml]
    Is it necessary to use maven ? If yes, what is exactly the pom config for a basic java application ?

    Thanks

  • #2
    Solution found : select "export all resources ..." when exporting jar from eclipse.

    Comment

    Working...
    X