[maven] NoClassDefFoundError 해결방법

Deployment Assembly

Java Build Path Entries 선택  Maven Dependencies를 삽입해준다.

그래야 아래와 같은 Spring 오류를 피할수 있다.

java.lang.NoClassDefFoundError: org/springframework/beans/factory/BeanNameAware
at java.lang.ClassLoader.defineClass1(Native Method)

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s