MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
brlima
Post subject: Matisse Problem with Maven Dependency  PostPosted: Sep 29, 2010 - 02:57 PM



Joined: Sep 29, 2010
Posts: 2

I used to have two projects:
- component project (NOT maven supported)
- main project (maven supported)

The main project had a dependency on the component project, where I exported it as a jar file into .m2/repository direct.

Now I´ve converted the component project into a Maven Project in MyEclipse, then the Main project now reefers to it as a project.

Since then, when I open a .form file to edit, the components that are in the Component project are as invalid class (ClassNotFoundException).

Then I close the Component project, and the Main Project then reefers to the repository, not any more to the project directly and all work again.

I think when Maven Dependency are Project Direct in MyEclipse the matisse cannot find the compiled classes.

Does anyone have an idea if this is a MyEclipse problem or do i need to change anything in those projects?

Thanks.

MyEclipse Version: 8.6 | Build id: 8.6-20100723
Maven Support for MyEclipse 8.6.0.me201007292043-7H7e-8mYx8OqYGVqtVSbStz01_s
 
 View user's profile Send private message  
Reply with quote Back to top
brlima
Post subject: RE: Matisse Problem with Maven Dependency  PostPosted: Sep 29, 2010 - 03:45 PM



Joined: Sep 29, 2010
Posts: 2

Problem solved!

Just changed the output folder of Component Project.
It was [project/target/classes] then i changed to [project/bin]. Then worked!

Thanks.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits