NoClassDefFoundError

Help
Chris
2013-03-28
2013-06-12
  • Chris
    Chris
    2013-03-28

    What am I missing?  I rebuilt my world recently (ant all) and now it seems my servers (sanav & enfora) cannot reach certain classes. RuleFactoryLite for example.

    [ERROR|03/01 22:33:22|ServerSocketThread$ServerSessionThread.run:1726] Exception: Unexpected exception:
    java.lang.NoClassDefFoundError: org/opengts/extra/rule/RuleFactoryLite$EventDataText
            at org.opengts.extra.rule.RuleFactoryLite._sendNotification(RuleFactoryLite.java:1065)
            at org.opengts.extra.rule.RuleFactoryLite._performAction(RuleFactoryLite.java:922)
            at org.opengts.extra.rule.RuleFactoryLite.executeSelector(RuleFactoryLite.java:838)
            at org.opengts.db.tables.Device.checkEventRules(Device.java:5294)
            at org.opengts.db.tables.Device._insertEventData(Device.java:4791)
            at org.opengts.db.tables.Device.insertEventData(Device.java:4449)
            at org.opengts.extra.servers.sanav.TrackClientPacketHandler.insertEventRecord(TrackClientPacketHandler.java:856)
            at org.opengts.extra.servers.sanav.TrackClientPacketHandler.parseInsertRecord(TrackClientPacketHandler.java:723)
            at org.opengts.extra.servers.sanav.TrackClientPacketHandler.getHandlePacket(TrackClientPacketHandler.java:175)
            at org.opengts.util.ServerSocketThread$ServerSessionThread.run(ServerSocketThread.java:1707)
    

    Those classes are in gtsdb.jar.  Any help would be appreciated!

     
  • Chris
    Chris
    2013-05-28

    Permissions were the problems.  Jars being built as 1 user, Tomcat running as another.