question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ConditionalOnWebApplication not found after upgrading to 2.9.0

See original GitHub issue

I have a classic Spring MVC application (4.3.14.RELEASE) and after upgrading from 2.8.0 to 2.9.0 I get:

[ERROR] com.sun.tools.javac.code.Symbol$CompletionFailure: class file for org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication not found

To workaround the issue, I created an empty annotation class into my classpath:

package org.springframework.boot.autoconfigure.condition;

public @interface ConditionalOnWebApplication
{
}

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
dilipkrishcommented, Jun 14, 2018

Awesome! thank you for reporting back @gionn

1reaction
gionncommented, Jun 13, 2018

CI says green! 🥇

Read more comments on GitHub >

github_iconTop Results From Across the Web

docs/release-notes.md · serv/springfox - Gitee.com
... (#2481) ConditionalOnWebApplication not found after upgrading to 2.9.0 duplicate @gionn; (#2461) 2.8.0 /swagger-resource/configuration/ui does not set ...
Read more >
Spring Boot Reference Guide
This section provides a brief overview of Spring Boot reference documentation. Think of it as map for the rest of the document. You...
Read more >
java - Spring Boot 2.6.0 / Spring fox 3 - Failed to start bean ...
RELEASE and things stopped working when I upgraded to Spring Boot version 2.7.2 and 3.0.0 of SpringFox. Followed all steps of Migration ...
Read more >
App Engine Standard Java 8: 404 Not Found - Issue Tracker
I have a Spring Boot Application running on App Engine Standard with Java 8. After deploying a new release today (27.07.2022) every request...
Read more >
Spring Boot Reference Guide - air_balloon - 博客园
10.3. Upgrading from an Earlier Version of Spring Boot ... When you are ready to push your Spring Boot application to production, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found