[Seasar-user:16153] Re: [S2JUnit4]テストを実行するとエラーが発生する

Tetsutaroh Satoh [E-MAIL ADDRESS DELETED]
2008年 10月 28日 (火) 14:48:23 JST


小林様
佐藤徹太郎です。

ご返信ありがとうございました。

> Eclipse を使っているのだと思いますが,
> src/main/resources はビルドパスに含まれてますか?

Eclipseのプロジェクトの
src/main/resources を右クリック→ビルドパス→ビルドパスの構成→
ソース ビルドパス上のソースフォルダーに
src/main/resources があるのでビルドパスに含まれていると思います。

> また,クラスパスに追加されるディレクトリ
> (WEB-INF/classses や target/classes など) に
> convention.dicon は存在していますか?

WEB-INF/classes と target/test-classes に
convention.dicon をコピーしました。
しかし、今度は、Tomcatを起動した時に、コンソールに、
下記のようなエラーログが出力されます。

致命的: 静的リソースの起動中のエラーです
java.lang.IllegalArgumentException: ドキュメントベース
C:\eclipse\workspace\seasardemo\src\main\webapp が存在しない、又は読めない
ディレクトリです
	at
org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:14
1)
	at
org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java
:3944)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4113)
	at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:7
91)
	at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:
525)
	at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
	at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553
)
	at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
	at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.
java:311)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:117)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
	at
org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
	at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
	at
org.apache.catalina.core.StandardService.start(StandardService.java:516)
	at
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2008/10/28 14:18:33 org.apache.catalina.core.StandardContext start
致命的: Error in resourceStart()
2008/10/28 14:18:33 org.apache.catalina.core.StandardContext start
致命的: Error getConfigured
2008/10/28 14:18:33 org.apache.catalina.core.StandardContext start
致命的: 以前のエラーのためにコンテキストの起動が失敗しました [/seasardemo]
2008/10/28 14:18:33 org.apache.catalina.core.StandardContext stop
情報: コンテナ
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/seasardemo]
はまだ起動されていません
2008-10-28 14:18:36,375 [main] DEBUG org.seasar.framework.env.Env - 環境変数
#Envにファイル(env.txt)から値(ct)が設定されました
2008-10-28 14:18:36,921 [main] DEBUG org.seasar.framework.container.factory.
S2ContainerFactory - S2Containerを作成します。path=hotdeploy.dicon
2008-10-28 14:18:36,953 [main] DEBUG org.seasar.framework.container.factory.
S2ContainerFactory - S2Containerを作成します。path=convention.dicon
2008-10-28 14:18:37,640 [main] DEBUG org.seasar.framework.container.factory.
S2ContainerFactory - S2Containerを作成しました。path=convention.dicon
2008-10-28 14:18:37,640 [main] DEBUG org.seasar.framework.container.factory.
S2ContainerFactory - S2Containerを作成します。path=customizer.dicon
2008-10-28 14:18:37,671 [main] DEBUG org.seasar.framework.container.factory.
S2ContainerFactory - S2Containerを作成します。path=default-customizer.dicon
2008-10-28 14:18:37,687 [main] DEBUG org.seasar.framework.container.factory.
S2ContainerFactory - S2Containerを作成します。path=std-customizer.dicon
2008-10-28 14:18:38,062 [main] DEBUG org.seasar.framework.container.factory.
S2ContainerFactory - S2Containerを作成しました。path=std-customizer.dicon
2008-10-28 14:18:38,078 [main] DEBUG org.seasar.framework.container.factory.
S2ContainerFactory - S2Containerを作成しました。
path=default-customizer.dicon
2008-10-28 14:18:38,156 [main] DEBUG org.seasar.framework.container.factory.
S2ContainerFactory - S2Containerを作成しました。path=customizer.dicon
2008-10-28 14:18:38,156 [main] DEBUG org.seasar.framework.container.factory.
S2ContainerFactory - S2Containerを作成します。path=creator.dicon
2008-10-28 14:18:38,312 [main] DEBUG org.seasar.framework.container.factory.
S2ContainerFactory - S2Containerを作成しました。path=creator.dicon
2008-10-28 14:18:38,328 [main] DEBUG org.seasar.framework.container.factory.
S2ContainerFactory - S2Containerを作成しました。path=hotdeploy.dicon
2008-10-28 14:18:38,546 [main] DEBUG org.seasar.framework.container.factory.
S2ContainerFactory - S2Containerを作成します。path=app.dicon
2008-10-28 14:18:38,578 [main] DEBUG org.seasar.framework.container.factory.
S2ContainerFactory - S2Containerを作成します。path=convention.dicon
2008-10-28 14:18:38,593 [main] DEBUG org.seasar.framework.container.factory.
S2ContainerFactory - S2Containerを作成しました。path=convention.dicon
2008-10-28 14:18:38,593 [main] DEBUG org.seasar.framework.container.factory.
S2ContainerFactory - S2Containerを作成します。path=aop.dicon
2008-10-28 14:18:38,843 [main] DEBUG org.seasar.framework.container.factory.
S2ContainerFactory - S2Containerを作成しました。path=aop.dicon
2008-10-28 14:18:38,843 [main] DEBUG org.seasar.framework.container.factory.
S2ContainerFactory - S2Containerを作成します。path=app_aop.dicon
Exception occured at /components[1]/include[3]
org.seasar.framework.exception.ResourceNotFoundRuntimeException: [ESSR0055]
リソース(app_aop.dicon)が見つかりません
	at
	at
org.seasar.framework.container.factory.AbstractS2ContainerBuilder.getInputSt
ream(AbstractS2ContainerBuilder.java:80)
	at
org.seasar.framework.container.factory.XmlS2ContainerBuilder.parse(XmlS2Cont
ainerBuilder.java:168)
	at
org.seasar.framework.container.factory.XmlS2ContainerBuilder.include(XmlS2Co
ntainerBuilder.java:152)
	at
org.seasar.framework.container.factory.S2ContainerFactory$DefaultProvider.in
clude(S2ContainerFactory.java:600)
	at
org.seasar.framework.container.factory.S2ContainerFactory.include(S2Containe
rFactory.java:201)
	at
org.seasar.framework.container.factory.IncludeTagHandler.start(IncludeTagHan
dler.java:55)
	at org.seasar.framework.xml.SaxHandler.start(SaxHandler.java:183)
	at org.seasar.framework.xml.SaxHandler.start(SaxHandler.java:175)
	at org.seasar.framework.xml.SaxHandler.startElement(SaxHandler.java:
79)
	at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
Source)
	at
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
Source)
	at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown
Source)
	at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.dispatch(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
	at org.seasar.framework.util.SAXParserUtil.parse(SAXParserUtil.java:
55)
	at org.seasar.framework.xml.SaxHandlerParser.parse(SaxHandlerParser.
java:117)
	at org.seasar.framework.xml.SaxHandlerParser.parse(SaxHandlerParser.
java:107)
	at
org.seasar.framework.container.factory.XmlS2ContainerBuilder.parse(XmlS2Cont
ainerBuilder.java:170)
	at
org.seasar.framework.container.factory.XmlS2ContainerBuilder.build(XmlS2Cont
ainerBuilder.java:148)
	at
org.seasar.framework.container.factory.AbstractS2ContainerBuilder.build(Abst
ractS2ContainerBuilder.java:65)
	at
org.seasar.framework.container.factory.S2ContainerFactory$DefaultProvider.bu
ild(S2ContainerFactory.java:634)
	at
org.seasar.framework.container.factory.S2ContainerFactory$DefaultProvider.cr
eate(S2ContainerFactory.java:558)
	at
org.seasar.framework.container.factory.S2ContainerFactory.create(S2Container
Factory.java:144)
	at
org.seasar.framework.container.factory.SingletonS2ContainerFactory.init(Sing
letonS2ContainerFactory.java:135)
	at
org.seasar.framework.container.servlet.SingletonS2ContainerInitializer.initi
alize(SingletonS2ContainerInitializer.java:55)
	at
org.seasar.framework.container.servlet.S2ContainerServlet.initializeContaine
r(S2ContainerServlet.java:139)
	at
org.seasar.framework.container.servlet.S2ContainerServlet.init(S2ContainerSe
rvlet.java:127)
	at org.seasar.teeda.core.webapp.TeedaServlet.init(TeedaServlet.java:
41)
	at javax.servlet.GenericServlet.init(GenericServlet.java:212)
	at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:11
61)
	at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
	at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
4045)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4351)
	at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:7
91)
	at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:
525)
	at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
	at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553
)
	at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
	at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.
java:311)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:117)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
	at
org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
	at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
	at
org.apache.catalina.core.StandardService.start(StandardService.java:516)
	at
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2008/10/28 14:18:39 org.apache.catalina.core.ApplicationContext log
致命的: StandardWrapper.Throwable
java.lang.IllegalStateException: no factory
javax.faces.context.FacesContextFactory configured for this application
	at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:48)
	at javax.faces.internal.WebAppUtil.getFactory(WebAppUtil.java:142)
	at javax.faces.webapp.FacesServlet.init(FacesServlet.java:72)
	at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:11
61)
	at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
	at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
4045)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4351)
	at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:7
91)
	at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:
525)
	at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
	at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553
)
	at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
	at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.
java:311)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:117)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
	at
org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
	at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
	at
org.apache.catalina.core.StandardService.start(StandardService.java:516)
	at
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2008/10/28 14:18:39 org.apache.catalina.core.StandardContext loadOnStartup
致命的: サーブレット /sjcp がload()例外を投げました
java.lang.IllegalStateException: no factory
javax.faces.context.FacesContextFactory configured for this application
	at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:48)
	at javax.faces.internal.WebAppUtil.getFactory(WebAppUtil.java:142)
	at javax.faces.webapp.FacesServlet.init(FacesServlet.java:72)
	at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:11
61)
	at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
	at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
4045)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4351)
	at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:7
91)
	at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:
525)
	at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
	at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553
)
	at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
	at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.
java:311)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:117)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
	at
org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
	at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
	at
org.apache.catalina.core.StandardService.start(StandardService.java:516)
	at
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2008/10/28 14:18:39 org.apache.catalina.core.ApplicationContext log
致命的: StandardWrapper.Throwable
org.seasar.framework.exception.EmptyRuntimeException: [ESSR0007]S2Container
はnullあるいは空であってはいけません
	at
org.seasar.framework.container.factory.SingletonS2ContainerFactory.getContai
ner(SingletonS2ContainerFactory.java:175)
	at
org.seasar.framework.container.servlet.S2ContainerServlet.getContainer(S2Con
tainerServlet.java:152)
	at org.seasar.teeda.ajax.AjaxServlet.init(AjaxServlet.java:56)
	at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:11
61)
	at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
	at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
4045)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4351)
	at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:7
91)
	at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:
525)
	at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
	at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553
)
	at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
	at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.
java:311)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:117)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
	at
org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
	at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
	at
org.apache.catalina.core.StandardService.start(StandardService.java:516)
	at
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2008/10/28 14:18:39 org.apache.catalina.core.StandardContext resourcesStart
致命的: 静的リソースの起動中のエラーです
java.lang.IllegalArgumentException: ドキュメントベース
C:\eclipse\workspace\TeedaAjax\src\main\webapp が存在しない、又は読めない
ディレクトリです
	at
org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:14
1)
	at
org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java
:3944)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4113)
	at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:7
91)
	at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:
525)
	at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
	at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553
)
	at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
	at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.
java:311)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:117)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
	at
org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
	at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
	at
org.apache.catalina.core.StandardService.start(StandardService.java:516)
	at
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2008/10/28 14:18:39 org.apache.catalina.core.StandardContext start
致命的: Error in resourceStart()
2008/10/28 14:18:39 org.apache.catalina.core.StandardContext start
致命的: Error getConfigured
2008/10/28 14:18:39 org.apache.catalina.core.StandardContext start
致命的: 以前のエラーのためにコンテキストの起動が失敗しました [/TeedaAjax]
2008/10/28 14:18:39 org.apache.catalina.core.StandardContext stop
情報: コンテナ
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/TeedaAjax]
はまだ起動されていません
2008/10/28 14:18:40 org.apache.catalina.core.ApplicationContext log
情報: ContextListener: contextInitialized()
2008/10/28 14:18:40 org.apache.catalina.core.ApplicationContext log
情報: SessionListener: contextInitialized()
2008/10/28 14:18:41 org.apache.coyote.http11.Http11Protocol start
情報: Coyote HTTP/1.1を http-8080 で起動します
2008/10/28 14:18:42 org.apache.jk.common.ChannelSocket init
情報: JK: ajp13 listening on /0.0.0.0:8009
2008/10/28 14:18:42 org.apache.jk.server.JkMain start
情報: Jk running ID=0 time=0/156  config=null
2008/10/28 14:18:42 org.apache.catalina.startup.Catalina start
情報: Server startup in 24840 ms

ちょっと、長くなって申し訳けないのですが、
よろしくお願いいたします。
-----Original Message-----
From: [E-MAIL ADDRESS DELETED]
[mailto:[E-MAIL ADDRESS DELETED]] On Behalf Of Koichi Kobayashi
Sent: Sunday, October 26, 2008 10:00 PM
To: [E-MAIL ADDRESS DELETED]
Subject: [Seasar-user:16115] Re: [S2JUnit4]テストを実行するとエラーが発生す
る

小林 (koichik) です.

Date:    Sun, 26 Oct 2008 11:16:33 +0900
From:    "Tetsutaroh Satoh" <[E-MAIL ADDRESS DELETED]>
To:      <[E-MAIL ADDRESS DELETED]>
Subject: [Seasar-user:16113] [S2JUnit4]テストを実行するとエラーが発生する

> S2JUnit4には、JUnit4.4が必要であるということで、
> junit-4.4.jarをEclipseのプロジェクトのクラスパスに追加して、
> テストを実行したところ、下記のようなエラーログが出力されます。
(略)
> convention.diconが見つからないということらしいのですが、
> convention.diconは src/main/resources にあります。

Eclipse を使っているのだと思いますが,
src/main/resources はビルドパスに含まれてますか?

また,クラスパスに追加されるディレクトリ
(WEB-INF/classses や target/classes など) に
convention.dicon は存在していますか?


--
<component name="koichik">
    <property name="fullName">"Koichi Kobayashi"</property>
    <property name="email">"[E-MAIL ADDRESS DELETED]"</property>
    <property name="blog">"http://d.hatena.ne.jp/koichik"</property>
</component>

_______________________________________________
Seasar-user mailing list
[E-MAIL ADDRESS DELETED]
https://ml.seasar.org/mailman/listinfo/seasar-user




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