Dear Sir,
On win7 64bit, after finishing the steps in http://docs.broadleafcommerce.org/curre ... arted.html for DemoSite-3.0.0-GA, when try to launch jetty-demo in eclipse juno, it report below error. But in cmd line window, mvn -version correctly show the mvn info. I did above test with using both maven 2.2.1 and 3.0.5, the problem is the same.
Do I need further configuration on maven plugin in eclipse?
Buildfile: D:\tmpDataRoot\DemoSite-3.0.0-GA-eclipse-workspace\eclipse-workspace\DemoSite\site\build.xml
start-db:
[echo] Starting Data Base...
jetty-demo:
[artifact:mvn] Listening for transport dt_socket at address: 8000java.lang.NoClassDefFoundError: org/codehaus/classworlds/Launcher
[artifact:mvn] Caused by: java.lang.ClassNotFoundException: org.codehaus.classworlds.Launcher
[artifact:mvn] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
[artifact:mvn] at java.security.AccessController.doPrivileged(Native Method)
[artifact:mvn] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
[artifact:mvn] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
[artifact:mvn] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
[artifact:mvn] at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
[artifact:mvn] Could not find the main class: org.codehaus.classworlds.Launcher. Program will exit.
[artifact:mvn] Java Result: 1
BUILD SUCCESSFUL
Thanks
This forum is in readonly mode and serves as an archive of old information. All posting, registration and commenting abilities have been turned off. To get help, the Broadleaf team reguarly monitors the broadleaf-commerce tag on Stack Overflow so please ask your questions there.