My eclipse version is Helios Service Release 1
(1) Integrated resin4 on top, RESIN4 will create a new servers project on Eclipse, and then we can modify the configuration file Resin.xml
Found it
<cluster>
<!--
-The directory where you modify your project
-->
<web-app id= "/" root-directory= "/usr/local/app/workspace/crm/src/main/webapp" >
</web-app>
<resin:if test= "${resin_doc}" >
<web-app id= "/resin-doc" root-directory= "${resin.root}/doc/resin-doc"/>
</resin:if>
</cluster>
(2) then modify the App-default.xml
<web-app-default>
<!--configures the default class loader-->
<class-loader>
<compiling-loader path= "Web-inf/classes"/>
<!--let resin read the jar packages under the Lib directory of their own projects-->
<library-loader path= "/usr/local/app/workspace/crm/target/boss-loong/web-inf/lib/"/>
</class-loader>
</web-app-default>
(3) then modify the Cluster-default.xml
Modify <resin:import path= "Classpath:meta-inf/caucho/app-default.xml"/> To
<resin:import path= "${__dir__}/app-default.xml"/>
This allows resin to read the App-default.xml file configuration under the Eclipse project
This can be configured to complete, and you can start resin4 in Eclipse.