MyEclipse: import a regular maven web based project now want to debug

timd2112 - Feb 20, 2012 - 08:45 PM
Post subject: import a regular maven web based project now want to debug
Using myeclipse 10, I want to debug a maven based web project not created with Maven4MyEclipse. It was created with "vinilla" eclipse with maven and WTP. It can debugged inside the "vinilla" eclipse workspace. In myeclipse 10 I can maven install, i can build in eclipse and deploy to tomcat running in myeclipse but it does not copy the maven dependencies, and apparently doesn't find them either as I get "class not found" for maven dependencies.
Is there equivalent behavior to WTP such that maven dependancies can be resolved by my tomcat instance running under myeclipse 10?
support-swapna - Feb 21, 2012 - 09:09 AM
Post subject:
timd2112 ,

Can you please do these steps :

1) Go to Window > Preferences > MyEclipse > Java Enterprise Project > Web Project > Deployment tab. Under Library Deployment Policies , check the option "Jars from User Libraries". If its unchecked please check it.

2) Now try to deploy the project and check if you see the issue.

Let us know how it works for you.
timd2112 - Feb 21, 2012 - 02:28 PM
Post subject:
that worked, thanks :-)
support-swapna - Feb 22, 2012 - 03:39 AM
Post subject:
timd2112,

Glad that it is working.
Do let us know if you see any other issues.
All times are GMT - 6 Hours
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits