eclipse - java.lang.NoClassDefFoundError: org/springframework/boot/context/embedded/MultipartConfigFactory -
eclipse - java.lang.NoClassDefFoundError: org/springframework/boot/context/embedded/MultipartConfigFactory -
i've seen quite few posts can't seem utilize them prepare problem. application produciing noclassdeffounderror on class multpartconfigfactory. have in dependencies (using maven). it's bundle in spring-boot, have in pom.xml file. have scope set compile. issue? changed scope runtime , got same error.
here stacktrace:
caused by: java.lang.noclassdeffounderror: org/springframework/boot/context/embedded/multipartconfigfactory @ org.springframework.boot.autoconfigure.web.multipartproperties.createmultipartconfig(multipartproperties.java:98) @ org.springframework.boot.autoconfigure.web.multipartautoconfiguration.multipartconfigelement(multipartautoconfiguration.java:59) @ org.springframework.boot.autoconfigure.web.multipartautoconfiguration$$enhancerbyspringcglib$$ba3ce156.cglib$multipartconfigelement$1(<generated>) @ org.springframework.boot.autoconfigure.web.multipartautoconfiguration$$enhancerbyspringcglib$$ba3ce156$$fastclassbyspringcglib$$47c94b34.invoke(<generated>) @ org.springframework.cglib.proxy.methodproxy.invokesuper(methodproxy.java:228) @ org.springframework.context.annotation.configurationclassenhancer$beanmethodinterceptor.intercept(configurationclassenhancer.java:312) @ org.springframework.boot.autoconfigure.web.multipartautoconfiguration$$enhancerbyspringcglib$$ba3ce156.multipartconfigelement(<generated>) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(unknown source) @ sun.reflect.delegatingmethodaccessorimpl.invoke(unknown source) @ java.lang.reflect.method.invoke(unknown source) @ org.springframework.beans.factory.support.simpleinstantiationstrategy.instantiate(simpleinstantiationstrategy.java:166) ... 32 more
i've seen lot of comments changing buildpath or runtime classpath. however, when got classpath tab under run->run configuration, cannot access specific jars. there big maven dependencies library there , can't expand or anything.
any thoughts? i've been searching web far , wide day , can't figure out :-/
i'd appreciate if shed lite on problem!
eclipse dependencies runtime-error
Comments
Post a Comment