mybatis를 jdk1.5로 컴파일이 안됩니다.
- 작성자
- 관리자
- 작성일자
- 2013-12-26
- 조회수
- 5,318
Q
mybatis를 jdk1.5로 컴파일이 안됩니다.
아래와 같이 오류 메시지가 나옵니다.
[ERROR] bad class file: D:\eGovFrameDev-2.6.0\mavenrepository-2.0\repository\org\mybatis\mybatis\3.2.1\mybatis-3.2.1.jar(org/apache/ibatis/annotations/Param.class)
[ERROR] class file has wrong version 50.0, should be 49.0
A
안녕하세요 .표준프레임워크센터입니다.
pom.xml 설정에 관련 가이드 입니다.
<!-- 실행환경 라이브러리 -->
<dependency>
<groupId>egovframework.rte</groupId>
<artifactId>egovframework.rte.psl.dataaccess</artifactId>
<version>2.7.0</version>
<exclusions>
<exclusion>
<artifactId>mybatis</artifactId>
<groupId>org.mybatis</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>mybatis</artifactId>
<version>3.1.1</version>
</dependency>
고맙습니다.
pom.xml 설정에 관련 가이드 입니다.
<!-- 실행환경 라이브러리 -->
<dependency>
<groupId>egovframework.rte</groupId>
<artifactId>egovframework.rte.psl.dataaccess</artifactId>
<version>2.7.0</version>
<exclusions>
<exclusion>
<artifactId>mybatis</artifactId>
<groupId>org.mybatis</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>mybatis</artifactId>
<version>3.1.1</version>
</dependency>
고맙습니다.