facebook

Class can not be loaded

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #234341 Reply

    sridhar_jp
    Member

    Hi,

    I am deploying my web app in weblogic 8.1 and have a java project which is associated with the web application.

    In the preferences, I have appended to the classpath the Dir path of the Java Project root folder.

    When I deploy the application from the ide into Weblogic Applications dir as a packaged archive (war) and run the application, the classes that are referenced in the Java project are not getting appended to the classpath and hence the application throws an error class can not be loaded error.

    Could you please help me solve how to configure separate jar associated with the web project.

    Thanks,
    Sri

    #234350

    Riyad Kalla
    Member

    Sri,
    Remove the project from your build path, isntead go to the Projects tab and check it, then go the References settings and check it there. Then hit OK.

    The Java Project’s “output” dir is automatically added to your build path when you use the project as a reference, additionally, MyEclipse will handle packaging it up and deploying it for you.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Class can not be loaded

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