[seasar-dev:645] S2Dao+Seasar2のtrunkでテストが通らない

Seto Azusa azusa @ fieldnotes.jp
2007年 3月 2日 (金) 23:07:47 JST


せとあずさです。

S2Daoのhead(https://www.seasar.org/svn/s2dao/branches/s2dao-1.0.x/)と
Seasar2のtrunkを組み合わせるとテストが通らないのですが、
(2.4.10及び2.3.14の組み合わせは通る)
j2ee.dicon等の記述に変更が必要でしょうか?

org.seasar.framework.container.IllegalAutoBindingPropertyRuntimeException: [ESSR0080]クラス(org.seasar.extension.tx.RequiredInterceptor)のプロパティ(userTransaction)の自動設定に失敗しました
	at org.seasar.framework.container.assembler.BindingTypeMustDef.doBind(BindingTypeMustDef.java:51)
	at org.seasar.framework.container.assembler.AbstractBindingTypeDef.bind(AbstractBindingTypeDef.java:73)
	at org.seasar.framework.container.assembler.AccessTypePropertyDef.bind(AccessTypePropertyDef.java:50)
	at org.seasar.framework.container.assembler.AccessTypePropertyDef.bind(AccessTypePropertyDef.java:41)
	at org.seasar.framework.container.assembler.AutoPropertyAssembler.assemble(AutoPropertyAssembler.java:53)
	at org.seasar.framework.container.deployer.SingletonComponentDeployer.assemble(SingletonComponentDeployer.java:63)
	at org.seasar.framework.container.deployer.SingletonComponentDeployer.deploy(SingletonComponentDeployer.java:43)
	at org.seasar.framework.container.deployer.SingletonComponentDeployer.init(SingletonComponentDeployer.java:71)
	at org.seasar.framework.container.impl.ComponentDefImpl.init(ComponentDefImpl.java:299)
	at org.seasar.framework.container.impl.S2ContainerImpl.init(S2ContainerImpl.java:499)
	at org.seasar.framework.container.impl.ThreadSafeS2ContainerImpl.init(ThreadSafeS2ContainerImpl.java:170)
	at org.seasar.framework.container.impl.S2ContainerImpl.init(S2ContainerImpl.java:496)
	at org.seasar.framework.unit.S2FrameworkTestCase.runBare(S2FrameworkTestCase.java:186)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:120)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128)
	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)


使っているj2ee.diconは下記です。
http://svn.seasar.org/browse/branches/s2dao-1.0.x/s2-dao/src/test/resources/j2ee.dicon?revision=619&root=s2dao&view=markup

-- 
せとあずさ
azusa @ fieldnotes.jp
http://www.fieldnotes.jp/d/



Seasar-dev メーリングリストの案内