facebook

Matisse Problem with Maven Dependency

  1. MyEclipse IDE
  2.  > 
  3. Maven for MyEclipse (Maven4MyEclipse)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #311629 Reply

    Bruno Rios
    Member

    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

    #311631 Reply

    Bruno Rios
    Member

    Problem solved!

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

    Thanks.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Matisse Problem with Maven Dependency

You must be logged in to post in the forum log in