The command line launch has exceeded 32k...
I know it sounds amazing but, there are over 400+ jars in JBoss (not sure about Tomcat).
Depending on where you installed it, it makes a HUGE difference.
Are you on windows?
yes, i am on windows.
but how to solve this problem? i have changed the maven repo folder to D:\.m2\r, the error still remain same!
i believe this situation is pretty common
Definitely the classpath is too long.
You did a good move with shortening the path to the repository..
It's probably the path to Jboss or Tomcat...
You can see what is really being executed (and how long the classpath really is) by doing the following:
After the run fails, go to the debug perspective and right-click on the terminated run:
View the properties and see how long the command was:
Now, I select the entire command line output and copy it into Notepad++ and replace ";" with ";/n" to get a better idea of what is going on:
thanks again. Mark
Glad I could help!