До сих пор я добавил 2 проекта в проект GWT, чтобы построить путь и унаследовал их в gwt.xml, чтобы использовать их классы. Все работало хорошо.GWT добавление баночки вместо проекта
Затем я попытался развернуть проект gwt для tomcat, и поэтому мне нужно было сделать .jar-файл обоих проектов и добавить их в путь сборки. Но теперь я получаю ошибки.
Compiling module com.wn.webapp.WebApp Validating units: Ignored 17 units with compilation errors in first pass. Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors. Finding entry point classes [ERROR] Errors in 'file:/C:/Users/laura.eckardt/workspace/WebApp/src/com/wn/webapp/client/ServiceCalls.java' [ERROR] Line 24: The import com.wn.retail cannot be resolved [ERROR] Line 25: The import com.wn.retail cannot be resolved [ERROR] Line 26: The import com.wn.retail cannot be resolved [ERROR] Line 27: The import com.wn.retail cannot be resolved [ERROR] Line 28: The import com.wn.retail cannot be resolved [ERROR] Line 187: LaneContact cannot be resolved to a type [ERROR] Line 187: The type new AsyncCallback>(){} must implement the inherited abstract method AsyncCallback>.onSuccess(List) [ERROR] Line 187: LaneContact cannot be resolved to a type [ERROR] Line 196: The method onSuccess(List) of type new AsyncCallback>(){} must override or implement a supertype method [ERROR] Line 196: LaneContact cannot be resolved to a type [ERROR] Line 214: LaneStatus cannot be resolved to a type [ERROR] Line 214: The type new AsyncCallback(){} must implement the inherited abstract method AsyncCallback.onSuccess(LaneStatus) [ERROR] Line 214: LaneStatus cannot be resolved to a type [ERROR] Line 223: The method onSuccess(LaneStatus) of type new AsyncCallback(){} must override or implement a supertype method [ERROR] Line 223: LaneStatus cannot be resolved to a type [ERROR] Line 343: LaneContact cannot be resolved to a type [ERROR] Line 350: LaneStatus cannot be resolved to a type [ERROR] Line 386: Request cannot be resolved to a type [ERROR] Line 390: InquiryHolder cannot be resolved to a type [ERROR] Line 419: The method setCurrentRequest(Request) from the type Lane refers to the missing type Request [ERROR] Line 420: The method setCurrentInquiry(Inquiry) from the type Lane refers to the missing type Inquiry [ERROR] Line 424: LaneStatus cannot be resolved to a type [ERROR] Line 429: The method setTransactionEntries(Transaction) from the type ItemList refers to the missing type Transaction [ERROR] Line 436: InputMethodHolder cannot be resolved to a type [ERROR] Unable to find type 'com.wn.webapp.client.WebApp' [ERROR] Hint: Previous compiler errors may have made this type unavailable [ERROR] Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly
Что пошло не так?
Являются ли ваши библиотеки в вашей 'war/WEB-INF/lib', где' war' - папка верхнего уровня для вашего приложения, которую вы размещаете в папке 'webapps /' в Tomcat? – enrybo
да, они есть. и я добавил их в путь сборки – Laura
Удалось ли вам запустить проект в режиме Dev? – enrybo