2 Replies Latest reply on Oct 29, 2001 12:51 PM by docodan

    Deploying mvc_runtime.jar fails

    cconrad

      Hi,

      we are deploying mvc_runtime.jar within an EAR in the root of the EAR file. The manifest file looks like this:

      Manifest-Version: 1.0
      Class-Path: ./mvc_runtime.jar
      Unfortunately we get the message

      [Default] java.lang.NoClassDefFoundError: com/mvcsoft/pm/bean_behavior/BehaviorMetaData
      [Default] at java.lang.Class.getMethod0(Native Method)


      Do you know what to do here??

      Thank you for any help!

      Christoph.

        • 1. Re: Deploying mvc_runtime.jar fails
          v_marijan

          Hi,

          I hope that you are talking MANIFEST for ear file.
          Since ear file has Manifest and jar file has Manifest.
          I am calling it ear-MANIFEST.
          Since the file is already in the root, you dont' need the ./ part.
          just plan file name.
          Hopefully you have the application.xml ok.

          Hope it helps.

          Marijan

          • 2. Re: Deploying mvc_runtime.jar fails
            docodan

            This should work. Make sure that this is the manifest for your ejb jar, not the ear file. (You're telling your JAR to add the "runtime" JAR to its classpath.) Also, make sure you have a newline after the Class-Path entry. Believe it or not, it won't work without the newline.

            -Dan