Tuesday, 15 September 2015

java - eclipseLink 2.5.1 static weaving NoSuchMethodError -



java - eclipseLink 2.5.1 static weaving NoSuchMethodError -

i using eclipselink 2.5.1 on tomcat 8. tried static weave jars, got error @ run time.

java.lang.nosuchmethoderror: mypackage.employee._persistence_checkfetchedforset(ljava/lang/string;)v @ mypackage.employee.setaddress(employee.java)

employee extends super class annotated @mappedsuperclass. superclass in different jar. tried weave jar, superclass @mappedsuperclass not woven.

if disable static weaving, dynamic weaving not supported in tomcat. lazy properties become eager fetch. there way command fetch graph? fetch graph fetch lazy properties, can not create eager properties lazy.

thanks.

java tomcat jpa eclipselink compile-time-weaving

No comments:

Post a Comment