Spring MVC on JBoss 7.1 final
2014-05-18 14:13
549 查看
Spring MVC: Create simple Spring MVC in Eclipse and depoly on JBoss 7.1
Thanks to: http://gkolpuc.blogspot.com/2013/04/spring-mvc-create-sample-project-with.html
Solution includes 2 steps:
1. Install STS eclipse plugin
+ create a Spring project -> spring MVC project
2. In "Servers" tab, right click on blank -> new -> Server
+ "Download additional server adapters", find the one related to JBoss
+ "JBoss AS 7.1", you will see JBoss servers if above step successes
+ Right next to "Server runtime environment ..." , click "Add..."
+ "JRE", please select JRE 1.6+, don't use "Default JRE for JavaSE-1.6" if you have Java 1.7 instead of 1.6 for example. (You would get a deployment error, ifyou
use "Default JRE for JavaSE-1.6"
+ "Finish"
+ Select "runtime environment" that you added in previous step
+ "Next" -> "Next" + Application you want to deploy on JBoss Server -> "Finish" / "Finish"
Run JBoss server under "Servers" tab, open a browser then point to "localhost:8080/AppName"
* Show see a "Hello World" welcome page!
Thanks to: http://gkolpuc.blogspot.com/2013/04/spring-mvc-create-sample-project-with.html
Solution includes 2 steps:
1. Install STS eclipse plugin
+ create a Spring project -> spring MVC project
2. In "Servers" tab, right click on blank -> new -> Server
+ "Download additional server adapters", find the one related to JBoss
+ "JBoss AS 7.1", you will see JBoss servers if above step successes
+ Right next to "Server runtime environment ..." , click "Add..."
+ "JRE", please select JRE 1.6+, don't use "Default JRE for JavaSE-1.6" if you have Java 1.7 instead of 1.6 for example. (You would get a deployment error, ifyou
use "Default JRE for JavaSE-1.6"
+ "Finish"
+ Select "runtime environment" that you added in previous step
+ "Next" -> "Next" + Application you want to deploy on JBoss Server -> "Finish" / "Finish"
Run JBoss server under "Servers" tab, open a browser then point to "localhost:8080/AppName"
* Show see a "Hello World" welcome page!
相关文章推荐
- Starting to use the O2 Spring MVC viewer on ThreadFix
- logback + slf4j + jboss + spring mvc
- Jboss7.1 final部署EJB3.0简单教程
- SpringMVC+MyBatis开发中指定callSettersOnNulls,可解决返回字段不全的问题
- IntelliJ IDEA 13.x 下使用Hibernate + Spring MVC + JBoss 7.1.1
- SpringMVC+MyBatis开发中指定callSettersOnNulls,可解决返回字段不全的问题
- logback + slf4j + jboss + spring mvc
- SSM(SpringMVC+Spring+Mybatis)框架程序on IDEA
- IntelliJ IDEA 13.x 下使用Hibernate + Spring MVC + JBoss 7.1.1
- logback + slf4j + jboss + spring mvc
- [工作日志](转)logback + slf4j + jboss + spring mvc
- Installing JBoss Application Server 7.1 on Mac OS X with Eclipse Integration
- Redirect on Spring MVC Example
- Jboss7.1 final部署EJB3.0简单教程
- spring mvc rest webservice 在jboss 下 406 错误的解决方法
- jboss不打印日志的问题------:logback + slf4j + jboss + spring mvc----菩提树下的杨过
- Errors running builder 'Maven Project Builder' on project 'MavenSpringMVC'.
- jboss完全可以独立运行 servlet jsp ssh mybits spring mvc
- 反思Spring:由Ruby on Rails想到的
- The Life of a request in Spring MVC