私が作業しているプロジェクトがありますが、残念ながらそれはひどく書かれていません。いくつかの厄介なバグを解決した後、私はそれをコンパイルしてグラスフィッシュに配備しましたが、今はGWTエラーが発生し続け、何が間違っているのか見逃しています。WebServiceExceptionをハンドリングするときにGWT SerializationPolicyエラーが発生する
WebModule [/ AgentWSGui]例外着信RPCコールを com.google.gwt.user.client.rpc.SerializationExceptionをディスパッチ
タイプ 'javax.xml.ws.WebServiceExceptionが' のセットに含まれませんでしたこのSerializationPolicyまたはそのClassオブジェクトで直列化できる型をロードできませんでした。セキュリティ上の理由から、この型はシリアル化されません。 com.google.gwt.user.server.rpc.impl.StandardSerializationPolicy.validateSerialize(StandardSerializationPolicy.java:83)(com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java:591))
.....で例外が
public AgentScenario getAgents() throws InvalidAgentConfiguration, JAXBException
{
DirectoryFacilitator df;
AgentScenario as;
as = null;
df = AgentConfigurationProvider.getConfiguration().getDirectoryFacilitator();
as = AWSTypeConverter.convert(df.getAgentScenario());
return as;
}
どこから来ているこれは、これは
<module>
<!-- Inherit the core Web Toolkit stuff. -->
<inherits name='com.google.gwt.user.User'/>
<!-- Specify the app entry point class. -->
<entry-point class='net.sf.istcontract.aws.gui.client.AWSGui'/>
<servlet path="/awsgui" class="net.sf.istcontract.aws.gui.server.AgentGUIServiceImpl"/>
<stylesheet src='KitchenSink.css'/>
GWTはGWTファイルでありますこれはgwt-dev-windows.jat標準を使用しているためです。私はここにこだわっているので、どんな助けもありがたいです
ありがとう、それを段階的にデバッグしてください。まだ問題は解決していませんが、私はそれを絞り込んでいます。 – Mainata