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.

Executing a Spring boot Application class starts it in compatibility/bower mode

See original GitHub issue

Vaadin 14, beta 3. Project created with vaadin init --pre.

Issue: If I open the project in IntelliJ and hit run in the IDE, it runs the Spring Boot application and starts the project in BOWER mode.

If I run the app with mvn package spring-boot:run, it runs correctly in npm mode.

Expected result: I would expect that starting the app in any valid way would produce the same end result and run the app in npm mode.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
Peppecommented, Jun 18, 2019

Just to learn: Can you give vaadin.compatibilityMode=true as well to force bower mode?

How do I give an application property? Can I write it to my pom.xml?

0reactions
plekucommented, Jun 24, 2019

Fixed with vaadin/spring#453 and adding configuration parameter vaadin.compatibilityMode = false in starters.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting Started | Building an Application with Spring Boot
This guide provides a sampling of how Spring Boot helps you accelerate application development. As you read more Spring Getting Started guides, ...
Read more >
Running code after Spring Boot starts - Stack Overflow
It is as simple as this: @EventListener(ApplicationReadyEvent.class) public void doSomethingAfterStartup() { System.out.println("hello world, ...
Read more >
Spring Boot Console Application - Baeldung
Our console application consists of a single class, SpringBootConsoleApplication.java, which is the main class for out Spring Boot console ...
Read more >
Spring Boot @SpringBootApplication, SpringApplication Class
This class automatically creates the ApplicationContext from the classpath, scan the configuration classes and launch the application.
Read more >
How to Run Spring Boot Application? - GeeksforGeeks
Step 3: In your project create one package and name the package as “controller”. In the controller package create a class and name...
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