0 Replies Latest reply on Dec 10, 2001 9:48 PM by wxue123

    Who could tell me the process of deployment?

    wxue123 Newbie

      I am new to jboss.And I have a problem.
      I have developed a stateless session bean and a client servlet.And I have archive them and the META-INF directory into a jar file:calc.jar.
      Then I copied the jar file to the deploy directory of jboss root.
      But when I started the jboss,there is an error shown as followed:


      Error: 500
      Location: /servlet/j2ee1.BonusServlet
      Internal Servlet Error:

      java.lang.NoClassDefFoundError: j2ee1/Calc
      at java.lang.Class.newInstance0(Native Method)
      at java.lang.Class.newInstance(Class.java:237)
      at org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:268)
      at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:289)
      at org.apache.tomcat.core.Handler.service(Handler.java:254)
      at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
      at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:799)
      at org.apache.tomcat.core.ContextManager.service(ContextManager.java:745)
      at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
      at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:407)
      at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
      at java.lang.Thread.run(Thread.java:484)

      Who could tell me the cause?I am eager to it.3x.