facebook

Spring jars missing from classpath.

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #234475 Reply

    Randy
    Member

    Hi,
    Here’s my stats:
    gentoo linux, eclipse 3.1, subclipse plugin, and ME 4.0 M2.

    I’m using code that was originally developed on jbuilder. I pulled the source out of subversion, and have it mostly migrated to eclipse. When then added spring (and hibernate 3) capabilities to a project, i selected all libs. The problem is that the org.springframework.test classes are not found. for grins, I tweeked the classpath to manually include all of the spring eclipse libs, and this did not help. FWIW, I checked the ~/MyEclipse/eclipse/plugins/com.genuitec.eclipse.springframework_3.9.211/data/1.2/lib an d the junit test classes are in the spring-mock.jar. I figure I can add this jar to the spring myeclpse config, but if it is supposed to be in it, I figure best to let someone know.

    Or it could totallly be me screwing up too.

    TIA.

    Randy

    #234484 Reply

    support-michael
    Keymaster

    Hi Randy,

    No you’re not screwed up! As you have correctly identified there is a problem in the organization of the M2 Spring Libraries where the dependent jars were not included with the Spring Framework jars. This issue will be fixed in the M3 release.

    As a workaround you can add the dependent jars that you need to each MyEclipse Spring Library as they are shipped with M2. This is accomplished by editing the Spring preferences (Window>Preferences>MyEclipse>Project Capabilities>Spring).

    #234502 Reply

    Randy
    Member

    Excellant! Nice to know that it’s just not me. Tx for the info, both on the work around and how to make this a bug post.

    BTW, VERY nice product. kudos to the devs/designers. I’m finding I’m missing jbuilder less the more I use ME.

    Randy

    #234505 Reply

    support-michael
    Keymaster

    Re: Jbuilder not missed comment – Can I ask you for a vote on the JDJ Reader’s Choice Awards? See http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-8407.html. A strong showing will really help further est. MyEclipse presence across the Java tools industry.

    #234523 Reply

    Randy
    Member

    No problem. Consider it done!

    Randy

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Spring jars missing from classpath.

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