openjpa로 ehcache를 구성하려고합니다.EhCache로 OpenJPA 1.3.1 구성 : plugin/alias를 찾을 수 없음
여기 <property name="openjpa.QueryCache" value="ehcache" />
<property name="openjpa.DataCacheManager" value="ehcache" />
내 ehcache.xml입니다 :
<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ehcache.xsd" updateCheck="true" monitoring="autodetect" dynamicConfig="true">
<!-- -->
<cache name="openjpa" maxElementsInMemory="10000"
maxElementsOnDisk="1000" eternal="false" overflowToDisk="true"
diskSpoolBufferSizeMB="20" timeToIdleSeconds="300"
timeToLiveSeconds="600" memoryStoreEvictionPolicy="LFU"
transactionalMode="on" />
</ehcache>
그리고 여기에 종속 플러그인 내 pom.xml 파일의
org.apache.openjpa.lib.util.ParseException:
Instantiation of plugin "DataCacheManager" with value "ehcache" caused an error
"java.lang.IllegalArgumentException: java.lang.ClassNotFoundException: ehcache".
The alias or class name may have been misspelled, or the class may not have be available in the class path.
Valid aliases for this plugin are: [default]
여기 내 발췌의 persistence.xml에서이다 : 나는 다음과 같은 오류가 발생합니다 : net.sf.ehcache ehcache-openjpa 0.2.0
openjpa + ehcache를 구성하는 다른 방법이 있습니까?
당신이 컨테이너 environemnt에 대한 추가 정보를 제공 할 수 있습니까? 나는 WAS를 운영하고있다. –