Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Publish on Tomcat from Eclipse

Tags:

eclipse

tomcat

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

like image 604
zlaja Avatar asked Jun 17 '26 17:06

zlaja


1 Answers

I have used m2e plugin instead of m2e-wtp. After installing m2e-wtp it works fine.

Zlaja

like image 136
zlaja Avatar answered Jun 19 '26 06:06

zlaja



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!