Skip to main content

All Questions

Tagged with
1 vote
0 answers
54 views

What can cause the HTTP status 404 when running a Java EE web application in IntelliJ IDEA?

I'm trying to create a simple Java EE web application in IntelliJ IDEA according to this tutorial. I have made sure that everything necessary is installed on my computer (IntelliJ IDEA Ultimate incl. ...
Maxi's user avatar
  • 11
1 vote
0 answers
263 views

Errors ORA-28040 & ORA-01017 connecting old client to Oracle DB 21c

I am trying to connect a JBOSS/Tomcat/J2EE(Jakarta EE) client to my locally installed 21c Oracle Database. The client was able to connect to a database on a coworkers computer which I believe is ...
GrandInformation's user avatar
1 vote
2 answers
176 views

TomEE Plus 9.1 - Jakarta EE Platform Maven Project - How to exclude geronimo-mail jar

I have an Email class that uses the following imports: import jakarta.activation.DataHandler; import jakarta.activation.DataSource; import jakarta.activation.FileDataSource; import jakarta.faces....
Ted Spradley's user avatar
  • 3,436
0 votes
1 answer
900 views

Jakarta websocket handler with Spring managed bean

I have the following websocket client and server for peer-to-peer communication: package network; import jakarta.websocket.ContainerProvider; import jakarta.websocket.Session; import jakarta....
Vishrant's user avatar
  • 16.3k
0 votes
1 answer
151 views

Runtime error in Java EE with Intellij IDEA and Tomcat 9

My project doesn't run on Tomcat, I've already tried to change the JDK from 14 to 8, and the error persists. The project structure is: Java 8 Apache Tomcat 9.0.19 Intellij IDEA v. 2020.1 The error ...
Jon.M DEV CAX's user avatar
0 votes
1 answer
338 views

How to close/purge websocket connection from server side with Tomcat

I am using jakarta.websocket on Tomcat and I want my server after some time to close the websocket connection with a connected client. For that, I am calling session.close() which then triggers indeed ...
Gouz's user avatar
  • 347
-1 votes
2 answers
226 views

Why do I get an HTTP Status 404 (requested resource [servlet] is not available) in Tomcat but not in Glassfish with the exact same configuration? [duplicate]

The following config/code works in glassfish 6 but not Tomcat 8, why is that? web.xml: <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="https://jakarta.ee/xml/...
Mango Pickle's user avatar
0 votes
2 answers
385 views

is it possible to use tomcat 10 for JEE and tomcat 9 for spring on one laptop?

is it possible to use tomcat 10 for JEE and tomcat 9 for spring on one laptop? if yes can you ask for instructions on how to do this
M Jakubowski's user avatar
1 vote
0 answers
978 views

Is there a way to know what URLs are responding on Tomcat .war?

I have a java .war application and I deployed on Tomcat. I looked for a way to know all the urls that respond under the "localhost:8080" path. The solution may not be strictly linked with ...
EOTheDev's user avatar
0 votes
0 answers
2k views

Tomcat 10 Upgrade - Can't find javax.servlet.jsp reference

I am running a web application from NetBeans 13 (also recently upgraded). I just upgraded to Tomcat 10 and therefore changed all import statements in the application from javax.servlet to jakarta....
theyuv's user avatar
  • 1,574
0 votes
1 answer
145 views

Fail to load any resources from java EE application

I have a simple servlet and it works (it forward me to about.jsp file). @WebServlet("/about") public class AboutServlet extends HttpServlet { public void doGet(HttpServletRequest request,...
Denys_newbie's user avatar
  • 1,160
1 vote
3 answers
2k views

Java Spring requires some EE features in Tomcat. Is Spring a Jakarta EE framework?

I spent the last few days trying to wrap my head around the Java ecosystem, looking at the components (JVM, JRE, JDK, SE, EE, etc.), licensing and others. As far as I understand, Jakarta EE (formerly ...
Cedric H.'s user avatar
  • 8,238
1 vote
1 answer
6k views

jakarta.servlet with Tomcat 9 - Not Found Issue [duplicate]

I have a application which I am running using eclipse and tomcat 9 server. When I run the application, its opens then index.html page in browser, but the API's called inside index page are erroring ...
DALJIT SINGH's user avatar
2 votes
1 answer
12k views

SEVERE: Exception sending context initialized event to listener instance of class [org.springframework.web.context.ContextLoaderListener]

so I'm in a new internship position and I was told to modernize a JEE applciation. I've migrated the code in my machine in both .rar , .tar.gz and raw source code , and I sotill get the same problem. ...
azerELweed's user avatar
2 votes
1 answer
2k views

Session created by Tomcat

I am learning session with servlets and i read in the book that to create a session we need to call as below. HttpSession session = request.getSession() This causes the web container to create a ...
Shivam...'s user avatar
  • 424

15 30 50 per page
1
2 3 4 5
95