◎筱米加步枪◎.Blog

Happy coding

Maven工程上Absent Code attribute in method that is not native or abstract in class file解决方案。

筱米加步枪 posted @ 2012年1月29日 21:47 in [ 开源框架 ] with tags Maven , 5670 阅读

在Maven工程上进行JUnit测试出现如下错误:

Caused by: java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/persistence/CascadeType

 

解决方案:
在pom.xml文件中添加jboss-javaee6依赖

<dependency>
   <groupId>org.jboss.spec</groupId>
   <artifactId>jboss-javaee-6.0</artifactId>
   <version>2.0.0.Final</version>
   <type>pom</type>
   <scope>provided</scope>
</dependency>

 

  • 无匹配
SCERT Tripura 10th 说:
2023年9月07日 21:40

These Tripura 10th Class Model Question Paper 2024 are Prepared as per the updated Board of Education in the Tripura State Syllabus to help Students in their exam Preparations, which Aims to build both the Practical knowledge as SCERT Tripura 10th Model Paper 2024 well as analytical Skills for High School Every Student, SCERT Tripura Class Question Paper 2024 are Prepared as per the updated Tripura Board Class Syllabus & Exam Pattern 2024 to help Students in their Exam Preparations.Tripura Class Question Paper 2024 will help a lot to the Students to Estimate their writing speed in the Examination 2024, After Completing the Preparation of entire Syllabus.

civaget 说:
2024年1月11日 04:05

Thank you, I’ve recently been hunting for info about this subject matter for ages and yours is the best I’ve located so far. how do i make google docs dark mode

civaget 说:
2024年1月17日 06:30

펀초이스 transforms your search for the perfect massage into a seamless, rewarding experience.

civaget704 说:
2024年2月06日 04:24

With "백마마사지," say goodbye to stress and pain as expert therapists work their magic to revitalize your body and soul.

civaget 说:
2024年2月06日 08:12

Trust op사이트 순위 to help you make informed massage decisions.

civaget 说:
2024年2月06日 08:23

I enjoy 토토사이트's user-friendly design.

civaget704 说:
2024年2月07日 02:27 I've lost track of time while exploring 누누티비 다시보기's offerings.
civaget704 说:
2024年2月07日 02:42

I had an amazing experience at 포항오피. Top-notch service and a serene atmosphere.

civaget704 说:
2024年2月07日 02:56

The convenience of Internet-based OTT services has changed the way I consume content, and I'm here for it!

civaget704 说:
2024年2月11日 03:12 오피뷰's nutritional guidance has improved my eating habits.
civaget704 说:
2024年2月11日 03:21

Kudos to 오피모아 for their unwavering focus on data security. Immediate disposal is a valuable practice.

civaget 说:
2024年2月12日 08:23

A trip to 토닥이 is a mini-vacation for your mind and body.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter