Hi,
I am trying to create a jbi se component using a wsdl. when I use maven to
build the project, i keep getting the following error: the command I ran is
mvn clean install -e
e\target
[INFO] [xfire:wsgen {execution: default}]
[INFO] Executing XFire WsGen task with url:
file:/C:/Projects/MAM-ServiceMixJBI/
MAMevents/eventservice-se/src/main/resources/service.wsdl
[ERROR] log4j:WARN No appenders could be found for logger
(org.codehaus.xfire.ge
n.Wsdl11Generator).
[ERROR] log4j:WARN Please initialize the log4j system properly.
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] com/sun/istack/SAXParseException2
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.NoClassDefFoundError: com/sun/istack/SAXParseException2
at com.sun.tools.xjc.api.XJC.createSchemaCompiler(XJC.java:51)
at
org.codehaus.xfire.gen.jaxb.JAXBSchemaSupport.initialize(JAXBSchemaSu
pport.java:59)
at
org.codehaus.xfire.gen.Wsdl11Generator.generate(Wsdl11Generator.java:
151)
at org.codehaus.xfire.gen.WsGenTask.execute(WsGenTask.java:66)
at
org.apache.servicemix.maven.plugin.xfire.WsgenMojo.exec(WsgenMojo.jav
a:190)
at
org.apache.servicemix.maven.plugin.xfire.WsgenMojo.execute(WsgenMojo.
java:105)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:447)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:539)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:480)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:459)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:311)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:278)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Thu Nov 20 14:10:39 EST 2008
[INFO] Final Memory: 11M/22M
[INFO]
------------------------------------------------------------------------
I am using maven 2.0.8, java 1.5.0_05 and servicemix 3.3.
Any ideas ?
Appreciate your help.
Thanks and Regards,
Priya.
--
View this message in context:
http://www.nabble.com/No-class-def-found-error-tp20608150p20608150.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.