Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Eclipse Web Tools Platform Project (WTP) » eclipse-jee-2021-12-R-linux-gtk-x86_64 WTP plugin and m2e plugin( eclipse-jee-2021-12-R-linux-gtk-x86_64 WTP plugin and m2e plugin and webapp forbidden requests)
eclipse-jee-2021-12-R-linux-gtk-x86_64 WTP plugin and m2e plugin [message #1849850] Fri, 04 February 2022 16:20
s3vr linux is currently offline s3vr linuxFriend
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!
Previous Topic:Format XHTML on save
Next Topic:Could not find required bundle slf4j.api
Goto Forum:
  


Current Time: Mon May 06 05:41:25 GMT 2024

Powered by FUDForum. Page generated in 0.03450 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top