简体   繁体   English

Eclipse中的GWT Maven原型-未知的输出目录

[英]GWT Maven Archetype in Eclipse - Unknown output directory

I've created a new Maven project using the gwt-maven-plugin archetype in Eclipse Juno. 我使用Eclipse Juno中的gwt-maven-plugin原型创建了一个新的Maven项目。 After creating the project I get a build error: 创建项目后,出现构建错误:

Unknown Google Web App Problem: The output directory for the project should be set to /myproject/src/main/webapp/WEB-INF/classes 未知的Google Web App问题:项目的输出目录应设置为/ myproject / src / main / webapp / WEB-INF / classes

How do I resolve this? 我该如何解决?

Go to Project|Properties|Google|Web Application. 转到项目|属性| Google | Web应用程序。 Uncheck the checkbox (Launch and deploy from this directory ...). 取消选中该复选框(从此目录启动并部署...)。

See http://googlewebtoolkit.blogspot.com/2010/08/how-to-use-google-plugin-for-eclipse.html 请参阅http://googlewebtoolkit.blogspot.com/2010/08/how-to-use-google-plugin-for-eclipse.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM