質問編集履歴
1
一部、質問内容を変更しました。
title
CHANGED
File without changes
|
body
CHANGED
@@ -11,41 +11,28 @@
|
|
11
11
|
|
12
12
|
以下がコンソール上に表示されているもの(文字数の関係で一部抜粋)
|
13
13
|
|
14
|
-
重大: A child container failed during start [土 5月 05 15:07:41 JST 2018]
|
15
|
-
重大: A child container failed during start [土 5月 05 15:07:41 JST 2018]
|
16
|
-
重大: The required Server component failed to start so Tomcat is unable to start. [土 5月 05 15:07:41 JST 2018]
|
17
14
|
|
15
|
+
重大: A child container failed during start [土 5月 05 15:38:13 JST 2018]
|
16
|
+
重大: A child container failed during start [土 5月 05 15:38:13 JST 2018]
|
17
|
+
重大: The required Server component failed to start so Tomcat is unable to start. [土 5月 05 15:38:13 JST 2018]
|
18
|
+
情報: Pausing ProtocolHandler ["http-nio-8080"] [土 5月 05 15:38:13 JST 2018]
|
19
|
+
情報: Pausing ProtocolHandler ["ajp-nio-8009"] [土 5月 05 15:38:13 JST 2018]
|
20
|
+
情報: サービス [Catalina] を停止します [土 5月 05 15:38:13 JST 2018]
|
21
|
+
情報: Destroying ProtocolHandler ["http-nio-8080"] [土 5月 05 15:38:13 JST 2018]
|
22
|
+
情報: Destroying ProtocolHandler ["ajp-nio-8009"] [土 5月 05 15:38:13 JST 2018]
|
23
|
+
WARNING: An illegal reflective access operation has occurred
|
24
|
+
WARNING: Illegal reflective access by org.apache.catalina.loader.WebappClassLoaderBase (file:/Applications/Eclipse_4.7.3.app/Contents/tomcat/9/lib/catalina.jar) to field java.io.ObjectStreamClass$Caches.localDescs
|
25
|
+
WARNING: Please consider reporting this to the maintainers of org.apache.catalina.loader.WebappClassLoaderBase
|
26
|
+
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
|
27
|
+
WARNING: All illegal access operations will be denied in a future release
|
28
|
+
|
29
|
+
|
18
30
|
```
|
19
31
|
|
20
32
|
### Springプロジェクトの主なソースコード(プロジェクト名:SpringSample3)
|
21
33
|
|
22
34
|
|
23
35
|
|
24
|
-
```xml
|
25
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
26
|
-
|
27
|
-
<beans xmlns="http://www.springframework.org/schema/beans"
|
28
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
29
|
-
xmlns:aop="http://www.springframework.org/schema/aop"
|
30
|
-
xmlns:context="http://www.springframework.org/schema/context"
|
31
|
-
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
|
32
|
-
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd
|
33
|
-
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">
|
34
|
-
|
35
|
-
<!-- DIするBeanクラスを登録 -->
|
36
|
-
<bean id="sample" class="sample.SampleBean" />
|
37
|
-
<bean id="sample2" class="sample.SampleBean2" />
|
38
|
-
|
39
|
-
<!-- AOPの設定 -->
|
40
|
-
<!--
|
41
|
-
<aop:aspectj-autoproxy />
|
42
|
-
<context:component-scan base-package="sample"/>
|
43
|
-
-->
|
44
|
-
|
45
|
-
</beans>
|
46
|
-
```
|
47
|
-
|
48
|
-
|
49
36
|
(III) 「src」→「main」→「webapp」→「WEB-INF」下にweb.xmlを設置
|
50
37
|
|
51
38
|
web.xml
|