Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   WPI Library Third Party Libraries Not Found on RoboRIO (http://www.chiefdelphi.com/forums/showthread.php?t=153984)

Chase Haddleton 20-01-2017 17:39

WPI Library Third Party Libraries Not Found on RoboRIO
 
Hey,

We're running into an odd issue. We've added a third party library following the instruction in the documentation (copied the JARs to the user/wpilib/etc.. folder), but they don't appear to be copying over to the RoboRIO on deploy. Specifically, the build acknowledge the JARs when building (it both copies the JARs to the output folder, and the build is successful), but when we try running the robot a NoClassDefFound error is thrown in DriverStation.

Library trying to use: apache.commons.configuration, apache.commons.beanutils, apache.commons.lang, apache.commons.log

Error thrown is a NoClassDefFound for apache.commons.configuration2.beanutils.BeanHelper when trying to create the XML config object.

Any ideas as to why it can't find the JARs on the RoboRIO?

Joe Ross 20-01-2017 18:44

Re: WPI Library Third Party Libraries Not Found on RoboRIO
 
The JRE in the roborio uses an embedded profile that does not support Beans. See here for more explanation of embedded profiles. http://www.oracle.com/technetwork/ja...w-2157132.html

Chase Haddleton 20-01-2017 18:50

Re: WPI Library Third Party Libraries Not Found on RoboRIO
 
Quote:

Originally Posted by Joe Ross (Post 1634186)
The JRE in the roborio uses an embedded profile that does not support Beans. See here for more explanation of embedded profiles. http://www.oracle.com/technetwork/ja...w-2157132.html

That explains it! Thank for the help 😁


All times are GMT -5. The time now is 21:48.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi