내가 (위키에 명시된 바와 같이) 나머지 파견 구성을 포함 할 때 내가 GWTP 나머지 파견,에 문제가 발생하고이 컴파일러 오류 : http://pastebin.com/eWNg2c94 (컴파일 로그)GWTP 컴파일 오류 나머지 파견
나는 어떤이 없습니다 이 문제의 원인은 무엇입니까, Ivy 종속성 관리자 (IvyDE Eclipse)를 사용하고 있습니다. gwtp-rest 의존성이 모두 존재 함을 확인했습니다. Dispatcher (Rpc/Rest)를 모두 사용하고 있습니다. 여기에는 내 응용 프로그램 gwt 모듈 구성이 있습니다.
<?xml version="1.0" encoding="UTF-8"?>
<module rename-to="ims">
<!-- Inherit the core Web Toolkit stuff -->
<inherits name="com.google.gwt.user.User" />
<inherits name="com.google.gwt.logging.Logging"/>
<set-property name="gwt.logging.consoleHandler" value="DISABLED"/>
<set-property name="gwt.logging.popupHandler" value="DISABLED" />
<extend-property name="locale" values="en"></extend-property>
<!-- Core module inherits -->
<inherits name="nz.co.doltech.framework.module.Framework" />
<inherits name="nz.co.doltech.ims.Resources" />
<!-- Theme module inherits -->
<inherits name="nz.co.doltech.framework.themes.SyrenaTheme"/>
<!-- GXT -->
<!--stylesheet src="reset.css" /-->
<!--inherits name='com.sencha.gxt.ui.GXT' /-->
<!-- GXT Theme -->
<!-- <inherits name='com.sencha.gxt.theme.blue.Blue'/> -->
<!-- <inherits name='com.sencha.gxt.theme.gray.Gray' /> -->
<!--inherits name="com.sencha.gxt.theme.neptune.Theme" /-->
<!-- Library module inherits -->
<inherits name="com.gwtplatform.dispatch.rest.DispatchRest"/>
<inherits name="com.gwtplatform.dispatch.rpc.DispatchRpc"/>
<inherits name="com.gwtplatform.mvp.Mvp"/>
<inherits name="com.google.gwt.uibinder.UiBinder"/>
<inherits name="com.google.gwt.query.Query"/>
<inherits name="org.gwtbootstrap3.GwtBootstrap3CDN"/>
<inherits name="nz.co.doltech.framework.extensions.gwtbootstrap3.datepicker.Datepicker"/>
<inherits name="org.atmosphere.gwt.Client"/>
<replace-with class="org.atmosphere.gwt.client.impl.IEHTMLFileCometTransport">
<when-type-is class="org.atmosphere.gwt.client.impl.CometTransport"/>
<any>
<when-property-is name="user.agent" value="ie6"/>
<when-property-is name="user.agent" value="ie8"/>
<when-property-is name="user.agent" value="ie9"/>
</any>
</replace-with>
<!-- Framework module inherits -->
<inherits name="nz.co.doltech.framework.libraries.maydu.validation.ValidationLibrary" />
<inherits name="nz.co.doltech.framework.libraries.chosen.Chosen" />
<!-- Module entry point -->
<entry-point class="nz.co.doltech.ims.client.Application"/>
<extend-configuration-property name="gin.ginjector.modules"
value="nz.co.doltech.ims.client.gin.ClientModule" />
<set-configuration-property name="gwtp.bootstrapper"
value="nz.co.doltech.ims.client.BootstrapperImpl"/>
<set-configuration-property name="gwtp.prebootstrapper"
value="nz.co.doltech.ims.client.BootstrapperImpl.PreBootstrapperImpl"/>
<extend-configuration-property name="document.compatMode" value="BackCompat" />
<!-- Specify the paths for translatable code -->
<source path="client" />
<source path="shared" />
<generate-with class="com.google.gwt.uibinder.rebind.FixedUiBinderGenerator">
<when-type-assignable class="com.google.gwt.uibinder.client.UiBinder"/>
</generate-with>
<!-- RPC Serialization Ignores -->
<extend-configuration-property name="rpc.blacklist" value="javax.*"/>
<extend-configuration-property name="rpc.blacklist" value="com.google.gwt.user.client.ui.*"/>
<extend-configuration-property name="rpc.blacklist" value="com.google.gwt.query.client.*"/>
<extend-configuration-property name="rpc.blacklist" value="com.google.gwt.aria.client.*"/>
<extend-configuration-property name="rpc.blacklist" value="com.google.gwt.dom.client.*"/>
<extend-configuration-property name="rpc.blacklist" value="com.google.gwt.validation.client.*"/>
<extend-configuration-property name="rpc.blacklist" value="nz.co.doltech.framework.extensions.gwtbootstrap3.client.*"/>
<extend-configuration-property name="rpc.blacklist" value="nz.co.doltech.framework.libraries.maydu.validation.client.*"/>
<extend-configuration-property name="rpc.blacklist" value="nz.co.doltech.framework.themes.syrena.ui.*"/>
</module>
내 ANT 빌드 스크립트 : 다른 사람이 비슷한 문제를 가지고있는 경우
이<!--
================================
Build Application Binaries
================================
-->
<target name="javac" depends="tests" description="Compile java source">
<mkdir dir="war/WEB-INF/classes" />
<javac srcdir="src" includes="**" encoding="utf-8" destdir="war/WEB-INF/classes" source="1.7" target="1.7"
nowarn="true" debug="true" debuglevel="lines,vars,source" includeantruntime="false">
<classpath refid="project.class.path" />
<classpath refid="tomcat.libs"/>
</javac>
<copy todir="war/WEB-INF/classes">
<fileset dir="src" excludes="**/*.java" />
<fileset dir="resources" excludes="**/*.java" />
<fileset dir="database" excludes="**/*.java" />
</copy>
</target>
<target name="gwtc" depends="javac" description="GWT compile to JavaScript">
<java failonerror="true" fork="true" classname="com.google.gwt.dev.Compiler" maxmemory="512m">
<classpath>
<pathelement location="src"/>
<path refid="project.class.path"/>
</classpath>
<arg value="-war"/>
<arg value="war"/>
<!--arg value="-strict" /-->
<!-- Logging level arguments -->
<!--arg value="-logLevel" />
<arg value="ERROR" /-->
<!-- Optimization arguments -->
<!--arg value="-XenableClosureCompiler"/>
<arg value="-XdisableClassMetadata"/-->
<!-- add jvmarg -Xss16M or similar if you see a StackOverflowError -->
<jvmarg value="-Xmx512M"/>
<!-- Additional arguments like -style PRETTY or -logLevel DEBUG -->
<arg value="nz.co.doltech.framework.module.Framework"/>
<arg value="nz.co.doltech.framework.login.Login"/>
<arg value="nz.co.doltech.ims.Ims"/>
</java>
</target>
<target name="build" depends="gwtc" description="Build web application entry point"/>
정말 정말 도움을 주셔서 감사합니다.
을 내 ginjector? 나는 이전에 하나도 가지고 있지 않았기 때문에 지금 그것을 추가하고 그것을 초기화하는 방법을 정확히 모르겠습니다. 부트 스트랩 핑 위키 페이지가 지정되지 않았습니다. –
내 진입 점을 제거하고 MvpWithEntryPoint를 추가했지만 여전히이 오류가 발생합니다. –