Skip to content
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

Type javax.servlet.http.HttpServletRequest not present #4061

Open
mhiStrat opened this issue Apr 3, 2023 · 4 comments
Open

Type javax.servlet.http.HttpServletRequest not present #4061

mhiStrat opened this issue Apr 3, 2023 · 4 comments

Comments

@mhiStrat
Copy link

mhiStrat commented Apr 3, 2023

springboot3.0.0
springfox-boot-starter 3.0.0

@tanerurun
Copy link

use old version
example 2.0.2

@786vivek
Copy link

786vivek commented Aug 4, 2023

check your swagger configuration class data ...and check tomcat port and your project port should be same or configure your homecontroller file.

@VampireAchao
Copy link

暂不支持springboot3.0,可以在search.maven.org对比下,两个依赖都什么时候出的。。。
springboot3.0应该使用springdoc

@TonyyCruz
Copy link

Use an older version of spring, in pom.xml change the current version to this:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants