-
Notifications
You must be signed in to change notification settings - Fork 99
Description
Hi,I'm trouble in beans.So,when i try to start vaadin X Spring boot application gives that error : "Field context in com.vaadin.flow.spring.SpringBootAutoConfiguration required a bean of type 'org.springframework.web.context.WebApplicationContext' that could not be found.
Action:
Consider defining a bean of type 'org.springframework.web.context.WebApplicationContext' in your configuration.".
Here is my props :
rver.port=${PORT:8080}
logging.level.org.atmosphere = warn
spring.mustache.check-template-location = false
Launch the default browser when starting the application in development mode
vaadin.launch-browser=true
Workaround for vaadin/hilla#842
spring.devtools.restart.additional-exclude=dev/hilla/openapi.json
To improve the performance during development.
For more information https://vaadin.com/docs/flow/spring/tutorial-spring-configuration.html#special-configuration-parameters
vaadin.whitelisted-packages = com.vaadin,org.vaadin,dev.hilla,com.example.application
spring.jpa.defer-datasource-initialization = true
spring.sql.init.mode = always
server.servlet.session.tracking-modes = cookie
spring.datasource.url=xxxxxxxxxxxxxxxx
spring.datasource.username=xxxxxxxx
spring.datasource.password=xxxxxxxx
spring.datasource.hikari.schema=xxxxxxxxxx
spring.datasource.driver-class-name=org.postgresql.Driver
spring.jpa.show-sql=true
spring.jpa.hibernate.ddl-auto=none
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
spring.jpa.properties.hibernate.format_sql=true
logging.level.org.springframework.web.reactive.function.client=INFO
logging.level.org.springframework=INFO
logging.level.root=INFO
logging.level.org.hibernate=INFO
spring.jackson.serialization.fail-on-empty-beans=false
spring.session.store-type=jdbc
spring.session.jdbc.initialize-schema=always
spring.mvc.pathmatch.matching-strategy = ANT_PATH_MATCHER
spring.main.web-application-type=NONE
spring.main.allow-bean-definition-overriding=true
Metadata
Metadata
Assignees
Type
Projects
Status