wrs (#25) - Compiling wrs (#337) - Message List

Compiling wrs

I have been trying to install the web routing service. I have downloaded the branch wrs-2.0, but when I compile it I get the following error:

./compile.shsrc/handler/SelfHandler.java:3: package flexjson does not exist import flexjson.JSONSerializer;

src/handler/SelfHandler.java:41: cannot find symbol symbol : class JSONSerializer location: class handler.SelfHandler?

JSONSerializer serializer = new JSONSerializer();

src/handler/SelfHandler.java:41: cannot find symbol symbol : class JSONSerializer location: class handler.SelfHandler?

JSONSerializer serializer = new JSONSerializer();

3 errors

I understand this to mean that I need the flexjson package, but I do not seem to be able to locate it.

I am running ubuntu 9.10 with

java -version

java version "1.6.0_16" Java(TM) SE Runtime Environment (build 1.6.0_16-b01) Java HotSpot?(TM) Server VM (build 14.2-b01, mixed mode)

Thanks for your help

Andrew H.

  • Message #1386

    The flexjson package should be in "lib" directory? Can you confirm this?

    • Message #1387

      flexjson.jar is in /usr/share/java and /wrs-2.0/lib

      If this isn't the problem then what could be causing the compile error?

      • Message #1388

        Please check the flexjson jar file name in /lib - it should be the same as in compile.sh