Skip to content

DispatcherServlet did not process request in Spring 3.0.3 version. #30038

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
caltinsoy opened this issue Feb 26, 2023 · 1 comment
Closed

DispatcherServlet did not process request in Spring 3.0.3 version. #30038

caltinsoy opened this issue Feb 26, 2023 · 1 comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) status: duplicate A duplicate of another issue

Comments

@caltinsoy
Copy link

Affects: <3.0.3>


I tried send basic get requests with Spring 3.0.3 version and probably DispatcherServlet can not process request. But I saw a couple of log ,like :

INFO 21148 --- [nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
INFO 21148 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
INFO 21148 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms

I also created another demo project to process basic Get request and there was no problem. I used Spring 2.7.9. . I used Java 17 in both of them.

Same controller class ,
First project's (demo) pom's parent like : (3.0.3)

  <parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>3.0.3</version>
        <relativePath/> 
    </parent>

Second project's (demo1) pom's parent like : (2.7.9)

 <parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>2.7.9</version>
        <relativePath/> 
    </parent>
@RestController
public class PaymentController {
    @GetMapping("/hello")
    public void test()  {
        System.out.println("Hello World!");
    }
}

I also added projects .
demo.zip
demo1.zip

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Feb 26, 2023
@bclozel
Copy link
Member

bclozel commented Feb 27, 2023

I think this is a duplicate of #30031. If there is no space character in your application path we can reopen this issue.

@bclozel bclozel added status: duplicate A duplicate of another issue in: core Issues in core modules (aop, beans, core, context, expression) and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Feb 27, 2023
@bclozel bclozel closed this as not planned Won't fix, can't repro, duplicate, stale Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

3 participants