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

Class not found exception #643

Closed
minchina opened this issue Aug 7, 2017 · 3 comments
Closed

Class not found exception #643

minchina opened this issue Aug 7, 2017 · 3 comments

Comments

@minchina
Copy link

minchina commented Aug 7, 2017

Hi Guys,

I build a jar by myself and i am sure i am do nothing, just run the gradle build and gradle install command,
then i get the new jar file, but when i use the jar file in my app, i get an error like below:

`Caused by: java.lang.NoClassDefFoundError: org/springframework/amqp/support/converter/SmartMessageConverter
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.getDeclaredMethods(Class.java:1975)
at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:613)
at org.springframework.util.ReflectionUtils.doWithLocalMethods(ReflectionUtils.java:489)
at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.buildPersistenceMetadata(PersistenceAnnotationBeanPostProcessor.java:431)
at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findPersistenceMetadata(PersistenceAnnotationBeanPostProcessor.java:397)
... 72 common frames omitted
Caused by: java.lang.ClassNotFoundException: org.springframework.amqp.support.converter.SmartMessageConverter
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 79 common frames omitted

`

could you please help me look at this?

@artembilan
Copy link
Member

Doesn't sound like a problem in the Framework.

Please, consider to move it into some community forum, like StackOverflow.

We don't handle questions here on GitHub.

@minchina
Copy link
Author

minchina commented Aug 7, 2017

ok, thanks for your help.

@artembilan
Copy link
Member

You are always welcome here with bugs and features requests!

Everything rest not related to the Framework problems should be managed through the community forums.

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