Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: java.lang.NoClassDefFoundError #54

Closed
anderson-indiano opened this issue Jun 28, 2022 · 1 comment
Closed

Error: java.lang.NoClassDefFoundError #54

anderson-indiano opened this issue Jun 28, 2022 · 1 comment
Assignees

Comments

@anderson-indiano
Copy link

Hello,

I'm having problems running an application in an approval environment,
I'm using a pw-swift-core/SRU2021-9.2.13 library,

Dependencies installed in pom.xml

org.apache.commons commons-lang3 3.12.0 com.google.code.gson gson 2.8.9 com.prowidesoftware pw-swift-core SRU2021-9.2.13 the error below is occurring please help.

Caused by: java.lang.NoClassDefFoundError: com.prowidesoftware.swift.model.field.Field
at java.lang.J9VMInternals.prepareClassImpl(Native Method)
at java.lang.J9VMInternals.prepare(J9VMInternals.java:302)
at java.lang.Class.getDeclaredMethods(Class.java:975)
at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:613)
at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:524)
at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:510)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.determineCandidateConstructors(AutowiredAnnot
ationBeanPostProcessor.java:247)
... 12 more
Caused by: java.lang.ClassNotFoundException: com.prowidesoftware.swift.model.field.Field
at java.net.URLClassLoader.findClass(URLClassLoader.java:610)
at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:925)
at java.lang.ClassLoader.loadClass(ClassLoader.java:870)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:343)
at java.lang.ClassLoader.loadClass(ClassLoader.java:853)
... 19 more

exit 1

@ptorres-prowide
Copy link
Contributor

Please check the attached project. It does compile and run perfectly.
Regards
Pablo
test-gh-54.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants