-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor
-
Affects Version/s: 0.9.5
-
Component/s: ymir-skeleton-generic-s2.3
-
None
ymir-skeletonプロジェクト配下にS2TestCaseベースのテストを作成して実行すると以下のようなエラーが出て実行
できない。
org.seasar.framework.exception.IORuntimeException: [ESSR0040]IO例外が発生しました。理由はjava.io.FileNotFoundException: C:\eclipse\workspace\ymir-skeleton\src\main\webapp\WEB-INF\classes\app_ut.dicon (指定されたファイルが見つかりません。) at org.seasar.framework.util.URLUtil.openStream(URLUtil.java:63) at org.seasar.framework.container.factory.ClassPathResourceResolver.getInputStream(ClassPathResourceResolver.java:48) at org.seasar.cms.classbuilder.impl.RedefinableResourceResolver.getInputStream(RedefinableResourceResolver.java:29) at org.seasar.framework.container.factory.AbstractS2ContainerBuilder.getInputStream(AbstractS2ContainerBuilder.java:78) at org.seasar.framework.container.factory.XmlS2ContainerBuilder.parse(XmlS2ContainerBuilder.java:168) at org.seasar.cms.classbuilder.impl.RedefinableXmlS2ContainerBuilder.parse(RedefinableXmlS2ContainerBuilder.java:41) at org.seasar.framework.container.factory.XmlS2ContainerBuilder.include(XmlS2ContainerBuilder.java:152) at org.seasar.framework.container.factory.S2ContainerFactory$DefaultProvider.include(S2ContainerFactory.java:600) at org.seasar.cms.pluggable.PluggableProvider.includeWithExpanding(PluggableProvider.java:45) at org.seasar.cms.pluggable.PluggableProvider.include(PluggableProvider.java:40) at org.seasar.framework.container.factory.S2ContainerFactory.include(S2ContainerFactory.java:201) at org.seasar.framework.unit.S2FrameworkTestCase.include(S2FrameworkTestCase.java:276) at org.seasar.test.TestObjectTest.setUp(TestObjectTest.java:9) at org.seasar.framework.unit.S2FrameworkTestCase.runBare(S2FrameworkTestCase.java:296) 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:130) 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) Caused by: java.io.FileNotFoundException: C:\eclipse\workspace\ymir-skeleton\src\main\webapp\WEB-INF\classes\app_ut.dicon (指定されたファイルが見つかりません。) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at java.io.FileInputStream.<init>(FileInputStream.java:66) at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70) at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161) at org.seasar.framework.util.URLUtil.openStream(URLUtil.java:61) ... 25 more