Announcement

Collapse
No announcement yet.

Error during installation occurred

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error during installation occurred

    I get following error messages after this command

    ant -Dlib.dir=/opt/open-xchange/lib install
    Error output

    ...
    ...
    [javac] /tmp/open-xchange-admin/src/com/openexchange/admin/rmi/impl/OXGroup.java:755: cannot find symbol
    [javac] symbol : class ServiceReference
    [javac] location: class com.openexchange.admin.rmi.impl.OXGroup
    [javac] final ServiceReference[] servicereferences = bundle.getRegisteredServices();
    [javac] ^
    [javac] /tmp/open-xchange-admin/src/com/openexchange/admin/rmi/impl/OXGroup.java:757: cannot find symbol
    [javac] symbol : class ServiceReference
    [javac] location: class com.openexchange.admin.rmi.impl.OXGroup
    [javac] for (final ServiceReference servicereference : servicereferences) {
    [javac] ^
    [javac] /tmp/open-xchange-admin/src/com/openexchange/admin/rmi/impl/OXResource.java:181: cannot find symbol
    [javac] symbol : class Bundle
    [javac] location: class com.openexchange.admin.rmi.impl.OXResource
    [javac] final ArrayList<Bundle> bundles = AdminDaemon.getBundlelist();
    [javac] ^
    [javac] /tmp/open-xchange-admin/src/com/openexchange/admin/rmi/impl/OXResource.java:182: cannot find symbol
    [javac] symbol : class Bundle
    [javac] location: class com.openexchange.admin.rmi.impl.OXResource
    [javac] for (final Bundle bundle : bundles) {
    [javac] ^
    [javac] /tmp/open-xchange-admin/src/com/openexchange/admin/rmi/impl/OXResource.java:184: cannot find symbol
    [javac] symbol : variable Bundle
    [javac] location: class com.openexchange.admin.rmi.impl.OXResource
    [javac] if (Bundle.ACTIVE==bundle.getState()) {
    [javac] ^
    [javac] /tmp/open-xchange-admin/src/com/openexchange/admin/rmi/impl/OXResource.java:185: cannot find symbol
    [javac] symbol : class ServiceReference
    [javac] location: class com.openexchange.admin.rmi.impl.OXResource
    [javac] final ServiceReference[] servicereferences = bundle.getRegisteredServices();
    [javac] ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: /tmp/open-xchange-admin/src/com/openexchange/admin/tools/PropertyHandler.java uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 100 errors

    BUILD FAILED
    /tmp/open-xchange-admin/build.xml:182: Compile failed; see the compiler error output for details
    Any idea what is wrong now

    ant -Dlib.dir=/opt/open-xchange/lib install
    I got here an error messages regarding a FR language module but this installation has finished.
    Last edited by pennywize; 06-30-2007, 06:38 PM.

  • #2
    Hi,

    i compiled the latest cvs release about 3 hours ago, and it compiled clean. Maybe some .jar files are missing or not named correctly? Would you please post the top of the error message stack? Most likely there is a reference to the missing file.

    Comment


    • #3
      Originally posted by Martin Braun View Post
      Hi,

      i compiled the latest cvs release about 3 hours ago, and it compiled clean. Maybe some .jar files are missing or not named correctly? Would you please post the top of the error message stack? Most likely there is a reference to the missing file.
      I got the same error and I missed the osgi Framework mentioned in the wiki

      Pennywize should be the same error in your case


      http://download.eclipse.org/eclipse/...0945/index.php

      Download the jar file and name it as org.eclipse.osgi_3.2.2_ox.jar

      Comment


      • #4
        Yep, i already corrected that in the wiki

        Comment


        • #5
          Originally posted by Martin Braun View Post
          Yep, i already corrected that in the wiki
          Ahhh I see. Many thanks for hint.

          Jasmin

          Comment

          Working...
          X