I would like to register [hidden email] to the user mailing list for
ofbiz application. Eclipse generated me whole bunch of build errors due to missing JSONConstants.java, TokenManager, also expects JSON. java but found JSON.jj. Please assist. -- Thanks, Sai |
Administrator
|
http://cwiki.apache.org/confluence/display/OFBADMIN/Mailing+Lists
Use ant to build (works also in Eclipse https://cwiki.apache.org/confluence/display/OFBIZ/Eclipse+Tips#EclipseTips-BuildingOFBizwithAntfromwithinEclipse) Jacques From: "Sailaja Bitra" <[hidden email]> >I would like to register [hidden email] to the user mailing list for > ofbiz application. > > Eclipse generated me whole bunch of build errors due to missing > JSONConstants.java, TokenManager, also expects JSON. java but found JSON.jj. > > Please assist. > -- > Thanks, > Sai > |
Thank you for the quick response.
I tried to build it using ant many times but I am getting build failed.. I was following the link that you have provided to run it in eclipse.. wiki.apache.org/confluence/display/OFBIZ/Eclipse+Tips#EclipseTips- BuildingOFBizwithAntfromwithinEclipse) Also I tried the below url to setup(build/run) ofbiz in eclipse http://www.opensourcestrategies.com/ofbiz/ofbiz_eclipse.php [javac16] symbol : variable JSONConstants [javac16] location: class org.ofbiz.base.json.test.JSONTests [javac16] doParseExceptionTest("null:", JSONConstants.KEY_SEP); [javac16] ^ [javac16] C:\Users\bitra\eclipaseWorkspaces\apacheOffbizLatest\ofbiz\framework\base\src\or g\ofbiz\base\json\test\JSONTests.java:268: cannot find symbol [javac16] symbol : variable JSONConstants [javac16] location: class org.ofbiz.base.json.test.JSONTests [javac16] doParseExceptionTest("{:", JSONConstants.KEY_SEP); [javac16] ^ [javac16] C:\Users\bitra\eclipaseWorkspaces\apacheOffbizLatest\ofbiz\framework\base\src\or g\ofbiz\base\json\test\JSONTests.java:270: cannot find symbol [javac16] symbol : variable JSONConstants [javac16] location: class org.ofbiz.base.json.test.JSONTests [javac16] doParseExceptionTest("}", JSONConstants.OBJECT_END); [javac16] ^ [javac16] C:\Users\bitra\eclipaseWorkspaces\apacheOffbizLatest\ofbiz\framework\base\src\or g\ofbiz\base\json\test\JSONTests.java:280: cannot find symbol [javac16] symbol : class JSON [javac16] location: class org.ofbiz.base.json.test.JSONTests [javac16] new JSON(new StringReader(s)).JSONValue(); [javac16] ^ [javac16] C:\Users\bitra\eclipaseWorkspaces\apacheOffbizLatest\ofbiz\framework\base\src\or g\ofbiz\base\json\test\JSONTests.java:296: cannot find symbol [javac16] symbol : class JSON [javac16] location: class org.ofbiz.base.json.test.JSONTests [javac16] new JSON(new StringReader(s)).JSONValue(); [javac16] ^ [javac16] 13 errors BUILD FAILED C:\Users\bitra\eclipaseWorkspaces\apacheOffbizLatest\ofbiz\build.xml:204: The following error occurred while executing this line: C:\Users\bitra\eclipaseWorkspaces\apacheOffbizLatest\ofbiz\framework\build.xml:1 48: The following error occurred while executing this line: C:\Users\bitra\eclipaseWorkspaces\apacheOffbizLatest\ofbiz\macros.xml:39: The following error occurred while executing this line: C:\Users\bitra\eclipaseWorkspaces\apacheOffbizLatest\ofbiz\framework\base\build. xml:90: Compile failed; see the compiler error output for details. Total time: 3 seconds |
Administrator
|
Did you download with Git? Then try Svn rather...
Jacques From: "sai" <[hidden email]> > Thank you for the quick response. > I tried to build it using ant many times but I am getting build failed.. I was > following the link that you have provided to run it in eclipse.. > > wiki.apache.org/confluence/display/OFBIZ/Eclipse+Tips#EclipseTips- > BuildingOFBizwithAntfromwithinEclipse) > > Also I tried the below url to setup(build/run) ofbiz in eclipse > http://www.opensourcestrategies.com/ofbiz/ofbiz_eclipse.php > > > [javac16] symbol : variable JSONConstants > [javac16] location: class org.ofbiz.base.json.test.JSONTests > [javac16] doParseExceptionTest("null:", > JSONConstants.KEY_SEP); > [javac16] ^ > [javac16] > C:\Users\bitra\eclipaseWorkspaces\apacheOffbizLatest\ofbiz\framework\base\src\or > g\ofbiz\base\json\test\JSONTests.java:268: cannot find symbol > [javac16] symbol : variable JSONConstants > [javac16] location: class org.ofbiz.base.json.test.JSONTests > [javac16] doParseExceptionTest("{:", JSONConstants.KEY_SEP); > [javac16] ^ > [javac16] > C:\Users\bitra\eclipaseWorkspaces\apacheOffbizLatest\ofbiz\framework\base\src\or > g\ofbiz\base\json\test\JSONTests.java:270: cannot find symbol > [javac16] symbol : variable JSONConstants > [javac16] location: class org.ofbiz.base.json.test.JSONTests > [javac16] doParseExceptionTest("}", JSONConstants.OBJECT_END); > [javac16] ^ > [javac16] > C:\Users\bitra\eclipaseWorkspaces\apacheOffbizLatest\ofbiz\framework\base\src\or > g\ofbiz\base\json\test\JSONTests.java:280: cannot find symbol > [javac16] symbol : class JSON > [javac16] location: class org.ofbiz.base.json.test.JSONTests > [javac16] new JSON(new StringReader(s)).JSONValue(); > [javac16] ^ > [javac16] > C:\Users\bitra\eclipaseWorkspaces\apacheOffbizLatest\ofbiz\framework\base\src\or > g\ofbiz\base\json\test\JSONTests.java:296: cannot find symbol > [javac16] symbol : class JSON > [javac16] location: class org.ofbiz.base.json.test.JSONTests > [javac16] new JSON(new StringReader(s)).JSONValue(); > [javac16] ^ > [javac16] 13 errors > > BUILD FAILED > C:\Users\bitra\eclipaseWorkspaces\apacheOffbizLatest\ofbiz\build.xml:204: The > following error occurred while executing this line: > C:\Users\bitra\eclipaseWorkspaces\apacheOffbizLatest\ofbiz\framework\build.xml:1 > 48: The following error occurred while executing this line: > C:\Users\bitra\eclipaseWorkspaces\apacheOffbizLatest\ofbiz\macros.xml:39: The > following error occurred while executing this line: > C:\Users\bitra\eclipaseWorkspaces\apacheOffbizLatest\ofbiz\framework\base\build. > xml:90: Compile failed; see the compiler error output for details. > > Total time: 3 seconds > > > > > > > |
Free forum by Nabble | Edit this page |