BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.

Hello SAS Community,

We want to connect to metadata server with java interface and we follow the steps in

SAS® 9.4 Open Metadata Interface: Reference and Usage, Third Edition

We try the sample program from this link of documentation

http://support.sas.com/documentation/cdl/en/omaref/59983/HTML/default/viewer.htm#a003297220.htm

and it throws this Exception :

 

Exception in thread "main" java.lang.NoClassDefFoundError: com/sas/util/ChainedExceptionInterface at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:760) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) at java.net.URLClassLoader.access$100(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:368) at java.net.URLClassLoad

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisHemedinger
Community Manager

This seems like it might be a classpath problem or a missing jar file in your dev environment.  I don't think there's enough info in your message here to diagnose.

 

Verify that you have all of the necessary Jar files in your path per these requirements.

 

And that you're using the most recent version of the sample.

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

View solution in original post

2 REPLIES 2
ChrisHemedinger
Community Manager

This seems like it might be a classpath problem or a missing jar file in your dev environment.  I don't think there's enough info in your message here to diagnose.

 

Verify that you have all of the necessary Jar files in your path per these requirements.

 

And that you're using the most recent version of the sample.

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!
OsamaMakram
SAS Employee

Thank you for your help, the problem is solved I was missing sas.core.jar 

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1479 views
  • 0 likes
  • 2 in conversation