ClassNotFoundExcept org/hibernate/bytecode/instrumentation/internal/FieldInterceptionHelper

版权声明:版权声明:本文为博主原创文章,转载请注明出处。 https://blog.csdn.net/lililuni/article/details/83105786

在学习Fegin遇到上面问题,stackoverflow上有原因和解决办法,链接如下:

https://stackoverflow.com/questions/36498876/java-lang-classnotfoundexception-org-hibernate-bytecode-instrumentation-interna

解决办法:

   在pom.xml 上添加下面依赖

<dependency>
		    <groupId>org.hibernate</groupId>
		    <artifactId>hibernate-validator</artifactId>
		    <scope>provided</scope>
</dependency>
		
<dependency>
		    <groupId>org.hibernate</groupId>
		    <artifactId>hibernate-entitymanager</artifactId>
		    <version>5.1.0.Final</version>
</dependency>

猜你喜欢

转载自blog.csdn.net/lililuni/article/details/83105786