Forum Discussion
Within ReadyAPI, you can go to Preferences > ReadyAPI, and there is a "Custom Java libraries" section where you can point to JARs and folders, I think this may be what you're looking for. But just to clarify, you want to access classes from the readyapi-maven-plugin JAR in your Groovy scripts?
- lauravachon6 years agoContributor
Thank you so much. I updated that setting. The tool is able to find my class, but cannot initialize it.
java.lang.NoClassDefFoundError: Could not initialize class
Any ideas?
Thanks for the tip on how to specify the location of the jar file JustinM89
- JustinM896 years agoContributor
Hm, unfortunately I won't be of much help here as I don't know too much about class loading, but I think the issue is with the JAR itself -- what specific class are you trying to use?
- lauravachon6 years agoContributor
I built the jar from java code. I included the depenencies in the jar file. The groovy script is finding the class, but cannot initialize it
Related Content
- 4 years ago
- 9 years ago
Recent Discussions
- 5 days ago
- 9 days ago