Go to Post I would rather Andy Baker be at champs than Will.i.am. - Grim Tuesday [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 20-01-2017, 17:39
Chase Haddleton's Avatar
Chase Haddleton Chase Haddleton is offline
Software Mentor
FRC #3683 (Team D.A.V.E.)
Team Role: Mentor
 
Join Date: Oct 2015
Rookie Year: 2015
Location: Waterloo
Posts: 8
Chase Haddleton is an unknown quantity at this point
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?
Reply With Quote
  #2   Spotlight this post!  
Unread 20-01-2017, 18:44
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,590
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
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
Reply With Quote
  #3   Spotlight this post!  
Unread 20-01-2017, 18:50
Chase Haddleton's Avatar
Chase Haddleton Chase Haddleton is offline
Software Mentor
FRC #3683 (Team D.A.V.E.)
Team Role: Mentor
 
Join Date: Oct 2015
Rookie Year: 2015
Location: Waterloo
Posts: 8
Chase Haddleton is an unknown quantity at this point
Re: WPI Library Third Party Libraries Not Found on RoboRIO

Quote:
Originally Posted by Joe Ross View Post
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 😁
__________________
Software Mentor for Team D.A.V.E. (FRC3683) - 2016/2017
Captain & Lead Software Developer for R3P2 (FRC5834) - 2015/2016
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 13:15.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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