Start maven web project with resin in eclipse

Start maven web project with resin in eclipse

idea:eclipse

Application server: resin4.x

Project management tool: maven

web project

A new project group has been added, and the projects in the above environment need to be run in eclipse. The specific operations are as follows:

1. Add resin plugin to eclipse

2. Download resin and unzip it

3. The eclipse resin plugin associates the newly downloaded resin

4. Maven project build: Execute the package command. After execution, under the target directory, a directory hierarchy with a web structure is generated

5. Under the eclipse servers, there is a Resin directory, and there are some configuration files below, please refer to

http://running.iteye.com/blog/1739350

The first four steps of configuration (you can configure it according to the situation), mainly to configure

      <host id="127.0.0.1" root-directory=".">
       <web-app id="/admin" root-directory="C:\Users\Administrator\git\******\*****\target\****-1.0-SNAPSHOT">
        <error-page error-code="404" location="/errorPage/404.html"/>
       </web-app>
    </host>

6. Start it, http://127.0.0.1:8080/context

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326728602&siteId=291194637