Menu

problem when changing the version

Help
Anonymous
2004-01-06
2004-01-06
  • Anonymous

    Anonymous - 2004-01-06

    when I changed the plugin from 0.9.6 to 0.9.7 the project didn't run. When I changed back to 0.9.6 it didn't run anymore.

    It worked only when I created a new project. Maybe the solution is to modify the plugin.xml file?

     
    • Anonymous

      Anonymous - 2004-01-06

      here is the message error (it worked with 0.9.6 now I changed the plugin to 0.9.7):

      2004-01-06 14:31:48  Enhancement ends withs errors
      Cannot initialize resource locator for classes: resource does not exist or cannot be read: F:\EclipseJDO_JPOX_Sample\lib\jdo.jar

      java.io.IOException: resource does not exist or cannot be read: F:\EclipseJDO_JPOX_Sample\lib\jdo.jar

          at com.sun.jdori.enhancer.util.PathResourceLocator.<init>(Unknown Source)

          at com.sun.jdori.enhancer.Main.initClassLocator(Unknown Source)

          at com.sun.jdori.enhancer.Main.createEnhancer(Unknown Source)

          at com.sun.jdori.enhancer.Main.process(Unknown Source)

          at com.sun.jdori.enhancer.Main.main(Unknown Source)

       
      • Yves YANG

        Yves YANG - 2004-01-06

        I'll check if there is a problem in EclipseJDO. As workaround/solution, copy the jdo.jar in this directory.

        thanks
        yves ynag

         
    • Anonymous

      Anonymous - 2004-01-06

      thanks!
      Now I go back to version 0.9.6 (from 0.9.7).
      I have this error (of course I had rebuilt the project):

      java.lang.NoSuchMethodError: javax.jdo.spi.JDOImplHelper.checkAuthorizedStateManager(Ljavax/jdo/spi/StateManager;)V
          at model.Person.jdoReplaceStateManager(Person.java)
          at org.jpox.state.StateManagerImpl.replaceStateManager(StateManagerImpl.java:398)
          at org.jpox.state.StateManagerImpl.<init>(StateManagerImpl.java:276)
          at org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:712)
          at org.jpox.AbstractPersistenceManager.makePersistent(AbstractPersistenceManager.java:733)
          at main.Main.main(Main.java:48)
      Exception in thread "main"

      I need to make a new project and copy all the sources to the new projet. I don't see any other solution.

       
    • Anonymous

      Anonymous - 2004-01-06

      Sorry, I found the cause for that last error:
      I was using an old jdo.jar

       

Log in to post a comment.