ActiveWeb web application does not run under Jetty

醉酒当歌 提交于 2019-12-11 09:36:28

问题


I have created sample web application, packaged it into WAR, then put it into webapps folder into jetty. And it does not work.

Proof, windows from top to bottom:

1) The content of GreetingController.java

2) The compiled file is present inside WAR file in appropriate place

3) The web application is working, it's name is recognized (folder content displayed)

4) Controller is not working and it's name is not recognized

What else to check?

UPDATE

My WAR file: https://www.sendspace.com/file/mb94jt


回答1:


I think you are missing something in your app. The page you are referring is just a guide to help understand how the framework works. For complete simple examples, please refer to:

  • https://github.com/javalite/activeweb-bootstrap - this is a simple app with Bootstrap and no database support
  • https://github.com/javalite/activeweb-lessc - simple app without database, but with Less instead of CSS
  • https://github.com/javalite/activeweb-simple - simple ActiveWeb + ActiveJDBC webapp (CRUD)

Here is the Getting Started page: http://javalite.io/getting_started_activeweb

hope it helps



来源:https://stackoverflow.com/questions/25776191/activeweb-web-application-does-not-run-under-jetty

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!