I am working on two connected projects, my current solution looks like that:
My main project is web app (spring + vaadin), which use JAR build by ant in second project. Now I have to debug the second project (JAR) but I can’t connect it 😐
I tried add my second project as “Required project” but it did not do the magic.
I tried add sources to JAR, but it did not do the magic.
Any suggestion how can I do that ?
Aaand -> my problem is on Tomcat, I want to debug both projects at the same time. And now I can not run it.
thx
Lukasz
log:
java.lang.NoClassDefFoundError: ln/wi/search/service/WIService
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getDeclaredConstructors(Class.java:1836)
In addition to adding it to the build path, you also want to add the second project to the Deployment Assembly page of the project’s Properties (assuming you’re on a recent version of Eclipse which has that capability).