質問編集履歴

1

見るべきところが違っていました。

2019/05/28 05:16

投稿

kagemaru
kagemaru

スコア12

test CHANGED
File without changes
test CHANGED
@@ -85,3 +85,77 @@
85
85
  "Unable to process Jar entry"でググってはみたのですが情報が出て来ませんでした。
86
86
 
87
87
  どうかよろしくお願いいたします。
88
+
89
+ よくよく調べてみると以下の
90
+
91
+ ```ここに言語を入力
92
+
93
+ 警告: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orderProcess': Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.apache.cxf.common.util.ClassHelper.getRealClass(Lorg/apache/cxf/Bus;Ljava/lang/Object;)Ljava/lang/Class; [火 5 28 11:51:25 GMT+09:00 2019]
94
+
95
+ 重大: Context initialization failed [火 5 28 11:51:25 GMT+09:00 2019]
96
+
97
+ 重大: クラス org.springframework.web.context.ContextLoaderListener のリスナインスタンスにコンテキスト初期化イベントを送信中の例外です [火 5 28 11:51:25 GMT+09:00 2019]
98
+
99
+ 重大: One or more listeners failed to start. Full details will be found in the appropriate container log file [火 5 28 11:51:25 GMT+09:00 2019]
100
+
101
+ 重大: 以前のエラーのためにコンテキストの起動が失敗しました [/orderapp_rest] [火 5 28 11:51:25 GMT+09:00 2019]
102
+
103
+ ```
104
+
105
+ こちらのエラーが原因でデプロイされなかったところまでは理解出来ました。
106
+
107
+
108
+
109
+ 関係ありそうなのはビーンの生成に失敗しているということでしょうか?
110
+
111
+ ```xml
112
+
113
+ <?xml version="1.0" encoding="UTF-8"?>
114
+
115
+ <beans xmlns="http://www.springframework.org/schema/beans"
116
+
117
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
118
+
119
+ xmlns:jaxws="http://cxf.apache.org/jaxws"
120
+
121
+ xsi:schemaLocation="
122
+
123
+ http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
124
+
125
+ http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">
126
+
127
+
128
+
129
+ <import resource="classpath:META-INF/cxf/cxf.xml" />
130
+
131
+ <import resource="classpath:META-INF/cxf/cxf-extension-http-binding.xml"/>
132
+
133
+ <import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
134
+
135
+
136
+
137
+ <jaxws:endpoint
138
+
139
+ id="orderProcess"
140
+
141
+ implementor="demo.order.OrderProcessImpl"
142
+
143
+ address="/"
144
+
145
+ bindingUri="http://apache.org/cxf/binding/http" >
146
+
147
+ <jaxws:serviceFactory>
148
+
149
+ <bean class="org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean">
150
+
151
+ <property name="wrapped" value="false" />
152
+
153
+ </bean>
154
+
155
+ </jaxws:serviceFactory>
156
+
157
+ </jaxws:endpoint>
158
+
159
+ </beans>
160
+
161
+ ```