facebook

PROTOCOL INTERFACE file in separate WAR not found

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

    Lance Drake
    Member

    Hi MyEclipse Folks,

    I have a common web-project WAR that includes PROTOCOL INTERFACE files and a couple of Java classes.

    When another WAR is attempted to be deployed with classes that make reference to implements com.utility.MyProtocol, that PROTOCOL file is not being located and I’m seeing the error:

    ERROR [MainDeployer] Could not create deployment: file:/Developer/JBOSS/server/default/deploy/MyWeb.war/
    java.lang.NoClassDefFoundError: com/utility/MyProtocol

    Although the WAR project is included as a dependent-project property, I cannot seem to connect the dots to this file.

    The Java compiler has no problem with the reference. It appears that it’s JBoss which doesn’t know what to do. Is there an XDoclet reference needed to be added? I tried adding a @jboss.depends but that didn’t help.

    Any ideas?

    Thanks!

    Lance Drake[/b]

    #267325 Reply

    Riyad Kalla
    Member

    Lance,
    MYEclipse doesn’t support deploying Web Projects that have a dependency relationship with another Web Project, only support deploying Web Projects that have a dependency relationship with a standard Java Project.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: PROTOCOL INTERFACE file in separate WAR not found

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