为什么 wicket maven 原型不是网络?
我有一个困惑
,我刚刚发现当我从 wicket 原型创建 Maven 项目时,生成的项目不是 Web 项目。我尝试了一切我能做的:将项目设置为Web模块方面,添加加速性质。但是该项目没有在 eclipse tomcat 实例上运行。我不知道发生了什么,因为几天前我才能够以这种方式创建检票口项目。我还尝试在创建 Maven 项目之前删除 ~/.m2 文件夹。删除它后,项目是使用 Web 环境创建的,但是当我单击“运行”时,它没有出现“在服务器上运行”选项。只是 Maven 选项:构建、清理等。
我正在使用:
Eclipse Linux 薄荷丽莎 Jdk1.7 雄猫7 M2日食 加速 Maven2
您需要的任何信息请告诉我。
谢谢。
I have a puzzle
I just figured out that when I was creating a maven project from wicket archetype the resulting project was not a web project. I tried everything I could: set the project to web module facet, add quicken nature. However the project didnt run on eclipse tomcat instance. I don't know what's happening cause a couple days before I was able to create wicket projects this way. I also tried removing ~/.m2 folder before creating maven project. After I removed it, projects where created with the web environment but when I clicked on run, it doesn't appear the run on server option. Just maven options : build, clean and so on.
I'm using:
Eclipse
Linux mint Lisa
Jdk1.7
Tomcat 7
M2eclipse
Quicken
Maven2
Any information you need just let me know.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您阅读了我的帖子,很抱歉耽误了您的时间。我太笨了,我应该放弃我的职业生涯。我安装了jboss工具,因为我的项目即将使用Hibernate,然后我更改为eclipselink jpa。所以我决定删除所有 jboss 工具(这包括 jboss maven wtp 集成)。 Maven WTP integraiton 是一种让你快乐的药物。这在创建 wicket 项目时使其可以在 tomcat 中运行。
从而使其可以运行到我的 eclipse tomcat 实例。对于未来想要在不了解 Maven 命令的情况下设置 Eclipse wicket 项目的开发人员(这就是我的情况)。使用此套件:
拯救步骤:(WTP+MAVEN)
Sorry for your lost time if you read my post. I'm so dumb that I should quit my career. I had installed jboss tools because I was about to use Hibernate for my project, then I changed to eclipselink jpa. So I decided to remove all jboss tools (This included, jboss maven wtp integration). Maven WTP integraiton is a drug that makes you happy. This, when creating an wicket project makes it runnable in tomcat.
Thus making it runnable to my eclipse tomcat instance. For future developers who want to setup an eclipse wicket project without knowing about maven commands (that's my case). Use this kit:
Salvation steps: (WTP+MAVEN)