Skip to main content



      Home
Home » Archived » Maven Integration for Web Tools Platform » WAR project that uses overlays: Class not found
WAR project that uses overlays: Class not found [message #907947] Tue, 04 September 2012 09:34 Go to next message
Eclipse UserFriend
Eclipse: Indigo SR2
M2E: 1.1.0
M2E-WTP: 0.15.3

I have a multi-module Maven project with several JAR modules, a WAR module (that is used as an overlay), and another WAR module that is used as the final WAR.

These projects haven't changed in a few months, but I recently updated my Eclipse plugins and started seeing "Class not found" errors in Eclipse in the final WAR module project. The Java classes that are "not found" are inside the WAR overlay module project.

The system builds and runs without error, both from within Eclipse and the command line.

My question is this: Is M2E-WTP supposed to help the final WAR module project in Eclipse understand it will be receiving classes from the WAR overlay project in Eclipse?

If so, then perhaps I have something misconfigured. If not, then is this a defect?

[Updated on: Tue, 04 September 2012 09:38] by Moderator

Re: WAR project that uses overlays: Class not found [message #907953 is a reply to message #907947] Tue, 04 September 2012 09:40 Go to previous messageGo to next message
Eclipse UserFriend
(deleted)

[Updated on: Tue, 04 September 2012 10:15] by Moderator

Re: WAR project that uses overlays: Class not found [message #907967 is a reply to message #907947] Tue, 04 September 2012 09:40 Go to previous messageGo to next message
Eclipse UserFriend
(deleted)

[Updated on: Tue, 04 September 2012 10:15] by Moderator

Re: WAR project that uses overlays: Class not found [message #908296 is a reply to message #907947] Wed, 05 September 2012 01:28 Go to previous message
Eclipse UserFriend
ok - found out here:

http://wiki.eclipse.org/M2E-WTP_FAQ#How_do_I_add_my_web_project_classes_to_another_project.27s_classpath.3F

that what I want to do cannot be done! Going to move the classes to a new maven module packaged as a JAR and make that a dependency of both WARs.
Previous Topic:Deployed Resources folder
Next Topic:configuring jars dependencies in pom
Goto Forum:
  


Current Time: Wed Apr 02 08:10:33 EDT 2025

Powered by FUDForum. Page generated in 0.05207 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top