facebook

Please.. help with xdoclet [closed]

💡
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. Installation, Configuration & Updates
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #216629 Reply

    soleJBoss
    Member

    Hello,
    i’ve purchased your myeclipse suite and i’m finiding it very useful.

    Anyway i’m having some trouble embedding a “standard” java class within my EJB project:

    i’ve configured a SessionEJB to import a normal class (which provide some functions i need) but during the normal “myeclipse–>run xdoclet” procedure, jboss outputs a “java.lang.NoClassDefFound.Error” exception.

    I think that there is something missing in the myeclipse configuration. Do you have any suggestions?

    Thanks alot

    #216630

    soleJBoss
    Member

    sdasd

    #216686

    Greg
    Member

    Which class is giving you the NoClassDefFoundError? Is this “standard” class in the same source folder as the other EJB’s? Can you tell if the class is in the actual jar package or directory if you are using exploded packages. The file should get packaged along with all other class files in your EJB project. There is no special configuration needed to pick up all class files that are under the “src” folder in the EJB project.

    Does running xdoclet complete normally?

    #216782

    soleJBoss
    Member

    Hi Greg. Thanks for the prompt reply

    i’m sorry i didn’t give you the right infos……

    here we go then:

    I’m including the “standard” (non-ejb) class in my project src folder and in the jar package in the JBoss deploy directory. Xdoclet starts up smoothly. The NoClassDefFoundError occours during the JBoss boot process. I’m supposing that JBoss is not finding the class in the ejb-jar.xml, which seems to be true.

    Could this be related to how xdoclet creates the .class file from a non-ejb class ❓

    #216844

    Greg
    Member

    So is the class that isn’t found a class that is referenced in the ejb-jar.xml file? That would imply that one of the missing classes is an ejb-related class that should be generated by xdoclet. Are you following the process of creating an EJB from our tutorials? Are all of the interface classes being generated correctly after running xdoclet?

    #217517

    soleJBoss
    Member

    sorry for the late reply Greg. Anyway we managed to attach the java class to the ejb project……. simply cleaing up the jboss configuration which was messed up “a bit”….. 😳

    Thank alot

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Please.. help with xdoclet [closed]

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