Chinaunix首页 | 论坛 | 博客
  • 博客访问: 6551290
  • 博文数量: 915
  • 博客积分: 17977
  • 博客等级: 上将
  • 技术积分: 8846
  • 用 户 组: 普通用户
  • 注册时间: 2005-08-26 09:59
个人简介

一个好老好老的老程序员了。

文章分类

全部博文(915)

文章存档

2022年(9)

2021年(13)

2020年(10)

2019年(40)

2018年(88)

2017年(130)

2015年(5)

2014年(12)

2013年(41)

2012年(36)

2011年(272)

2010年(1)

2009年(53)

2008年(65)

2007年(47)

2006年(81)

2005年(12)

分类: Java

2017-06-05 17:33:55

参照http://blog.csdn.net/rcom10002/article/details/6568809,一运行就报错Exception in thread "main" org.apache.openjpa.persistence.ArgumentException: This configuration disallows runtime optimization, but the following listed types were not enhanced at build time or at class load time with a javaagent: "Airline".

度娘好久也没找到一个所以然,不经意见查看Simple中的build.xml得到启发,运行时加一个java虚拟机参数。Eclipse在run configuration中配置
-javaagent:yourpathto/openjpa-all-2.4.2.jar,运行OK。
阅读(4087) | 评论(1) | 转发(0) |
1

上一篇:我与SACC

下一篇:ant的log4j2版本的Listener

给主人留下些什么吧!~~

oyxu662020-01-02 10:52:30

太感谢了了 终于不报错了