Skip to main content

All Questions

Tagged with
0 votes
0 answers
106 views

Javax to Jakarta EE migration for Java21 from Java 8 _ PageContext

Hi I m trying to migrate from java 8 to java 21 for which i m replacing all javax to jakarta package. doing so, led me to one issue , where javax.servlet.jsp.pageContext object is used in many jsp in ...
Sharath Nair's user avatar
0 votes
0 answers
23 views

org.springframework.beans.factory.UnsatisfiedDependencyException Occurring in IntelliJ Ultimate but not IntelliJ Community edition

I am a student currently learning java and web development and have been using IntelliJ community edition for a few months now. I decided to give IntelliJ Ultimate a try and am encountering org....
Sholzby's user avatar
0 votes
0 answers
28 views

Problem to add spring-boot jar in the other spring project

I have a legacy Spring MVC where I'm trying to add a fat-jar made with spring-boot-starter that performs some operations with the database... That said, after successfully generating and executing the ...
Felipe Leite Vitorino's user avatar
0 votes
1 answer
610 views

Spring Boot app: No ServletWebServerFactory bean in context

When attempting to run my web app, I encountered the following issue: Web application could not be started as there was no org.springframework.boot.web.servlet.server.ServletWebServerFactory bean ...
Firas Chebbi's user avatar
1 vote
1 answer
47 views

Parameter 0 of constructor in com.example.demo.services.StudentServiceImpl required a bean of type 'com.example.demo.repositories.StudentRepository'

I tried to run Spring Boot but it ended up showing an error saying: Parameter 0 of constructor in com.example.demo.controller.StudentController required a bean of type 'com.example.demo.services....
Aswin Shaji's user avatar
0 votes
1 answer
58 views

Spring MVC: No converter for [class com.gcu.model.OrderList] with preset Content-Type 'null'

I'm encountering an issue with my Spring MVC application where I'm trying to return an object of type OrderList as an HTTP response, but I'm receiving the following warning message: WARN 21264 --- [...
Isaac Luth's user avatar
1 vote
1 answer
74 views

maven clean install and mvn spring-boot:run gives me on POST request 401 (Unauthorized) error

When I run my java spring boot project with "mvn clean package" and "mvn spring-boot:run" I get a POST http://localhost:8080/api/v1/register 401 (Unauthorized) error. While I am ...
Egon's user avatar
  • 498
1 vote
0 answers
2k views

mvn package is failing -Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tool

Error: - [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project StockGuardian: Fatal error compiling: java.lang.NoSuchFieldError: ...
Dekay's user avatar
  • 11
0 votes
0 answers
37 views

Maven War file issue at tomcat server | Ubuntu

I have a problem with my WAR file. I wrote application in Java using maven with Spring boot and Spring MVC. After packaging i pushed file to an ubuntu server at path /opt/tomcat/webapps. Currently I ...
Clipper's user avatar
-1 votes
2 answers
1k views

ERROR Update Spring Boot: java.lang.ClassNotFoundException: javax.servlet.jsp.tagext.TagLibraryValidator

Currently i try to upgrade my Springboot to 3.2.2. When using springboot 3.2.2 there's no javax servlet anymore but using jakarta servlet When run it on eclipse , i got an error SEVERE: Servlet....
lauwis's user avatar
  • 401
-1 votes
1 answer
644 views

How do I update Spring Security?

I am trying to update an example I got from my java curse of Spring Security to the up-to-date one. So far I was able to update the POM using Maven but I still get an Error about the ...
baphomet's user avatar
0 votes
1 answer
165 views

Run a Maven project on Tomcat from NetBeans

I have a Maven Java web project opened with NetBeans. The goal is to run and deploy the project on Tomcat from NetBeans by for example clicking on the green play button (like other IDEs). Should I ...
solmazpartu's user avatar
1 vote
2 answers
211 views

java.lang.NoClassDefFoundError: javax/servlet/Filter is thrown during migration from Spring 4 to Spring 6

java.lang.NoClassDefFoundError: javax/servlet/Filter I have Added Jakarta servlet dependencies . I have also added CORS filter in my web.xml The following is the web.xml declaration of CORS filter &...
Raghavender's user avatar
0 votes
1 answer
126 views

How to solve maven install error: cannot find symbol?

I've developed spring boot microservices that are responsible for user authentication and authorization. Now, as a final step, I want to dockerize those microservices. To do this, I need each ...
Bohdan Kyryliuk's user avatar
1 vote
1 answer
104 views

java spring mvc project does not start after dependency updates

I'm trying to use Java Time classes (like Instant, DateTime...) in a Java 8 project with Spring MVC (and Maven) With these dependencies <!-- Spring --> <spring-framework.version>4....
FrancescoDS's user avatar

15 30 50 per page
1
2 3 4 5
132