Java – JBoss application server and Servlet

I downloaded the latest version of JBoss. Com from JBoss website

I created a dynamic web project and created a servlet in it Servlet class has build path error, as shown in the following figure I explored the server directory, which does not contain any servlets or jars How do I get a JBoss server containing servlets and web jars?

Solution

The servlet jar in the JBoss server should appear in:

JBOSS_HOME/common/lib/

The most likely name is servlet API Jar, which should also be included in your classpath

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>