I have problem when publishing web project on tomcat. I've got this error:
!ENTRY org.eclipse.wst.server.core 4 0 2013-07-17 14:22:41.293 !MESSAGE Could not publish to the server. !STACK 0 java.lang.NullPointerException at org.eclipse.wst.common.componentcore.internal.util.VirtualReferenceUtilities.getDefaultProjectArchiveName(VirtualReferenceUtilities.java:81) at org.eclipse.jst.j2ee.componentcore.J2EEModuleVirtualComponent.getJavaClasspathReferences(J2EEModuleVirtualComponent.java:338) at org.eclipse.jst.j2ee.componentcore.J2EEModuleVirtualComponent.getNonManifestRefs(J2EEModuleVirtualComponent.java:242) at org.eclipse.jst.j2ee.componentcore.J2EEModuleVirtualComponent.getReferences(J2EEModuleVirtualComponent.java:166)
But If I turn off Maven's resolve dependencies from Workspace in web project everything works fine.
Any idea
Thanks
Zlaja
I have used m2e plugin instead of m2e-wtp. After installing m2e-wtp it works fine.
Zlaja
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With