0 Replies Latest reply on Mar 2, 2009 5:11 PM by Benito Juarez

    external jar

    Benito Juarez Newbie

      Hello,


      i got a strange problem:
      For modularisation i'm using external jar files and include them via application.xml:



         <module>
            <java>calleo_plugin.jar</java>
         </module>
      



      Pojos in this jar implement interfaces from the main application jar. In a session bean at runtime i create instances of these pojos by reflection. This causes an error:




      16:57:10,815 ERROR  java.lang.Error: Unresolved compilation problems: 
              The import org.jboss cannot be resolved
              The import org.jboss cannot be resolved
              The import de.calleo.if.adapter cannot be resolved
              The import de.calleo.if.adapter cannot be resolved
              The import de.calleo.if.adapter cannot be resolved
              CalleoFieldMapper cannot be resolved to a type
              CalleoFieldValueMapper cannot be resolved to a type
              Log cannot be resolved to a type
              Logging cannot be resolved
              CalleoItem cannot be resolved to a type
              The method mapToValue(String, Hashtable<String,String>) of type GupCalleoFieldMapper must override or implement a supertype method
              log cannot be resolved
              log cannot be resolved
              The method mapToValue(String, Hashtable<String,String>) is undefined for the type Object
      





      The pojo from the jar file was found, but the included packages from the main jar file not.


      thx for help
      BJ