eclipse-jee-2021-12-R-linux-gtk-x86_64 WTP plugin and m2e plugin [message #1849850] |
Fri, 04 February 2022 16:20 |
s3vr linux Messages: 1 Registered: February 2022 |
Junior Member |
|
|
Hi,
I have an issue with:
- JDK 16 and JDK 17
- eclipse-jee-2021-12-R-linux-gtk-x86_64 / 2021-12-R / 2021-9-R / 2021-6-R
- WTP plugin
- m2e plugin
- tomcat-9.0.58 / wildfly-25.0.0.Final
I created a simple web app (WAR) with a deployment descriptor file web.xml:
<?xml version="1.0" encoding="UTF-8"?>
<web-app
...
version="4.0">
<display-name>war-app</display-name>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
</web-app>
A index.html file:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello World</title>
</head>
<body>
<p>Hello World</p>
</body>
</html>
And a pom.xml file (with default settings ):
...
<groupId>com.test.app</groupId>
<artifactId>war-app</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>war</packaging>
...
When I deploy the app on tomcat/wildfly with WTP plugin the HTTP requests
failed, return responses 403 forbidden (when a get localhost:8080/war-app/).
this same project without maven configuration works fine on same environment.
what's happen? Thanks so much!
|
|
|
Powered by
FUDForum. Page generated in 0.01179 seconds