I am using vaadin 10. I would see this error on my login view class if I used @Route("") but when I write it as @Route(value="") it worked. But doing that to another view I get this error. Most questions asked are way too advanced. I just have a simple project with vaadin and springboot.
Could not navigate to "view"
2.3k Views Asked by Tamim Khan At
2
There are 2 best solutions below
1
Steffen Harbich
On
With the source code you provided as link in the question's comments, I cannot reproduce your issue. However, there were 2 problems with your code before I was able to run the application:
- the
@Themeannotation needs to be placed on a view or router layout; I moved it to yourLoginView - the Valo theme is not available in Vaadin 10, so the reference on
ValoThemeclass was a compile error; I removed it
After fixing these problems everything ran fine, @Route(value="") and @Route("") were both working. Which Java version are you using? Java 8 is required minium for Vaadin 10. Also please try to remove lombok for testing, maybe it is causing a problem.
Related Questions in SPRING-MVC
- Redirect inside java interceptor
- Custom Spring annotation for request parameters
- Spring - configure Jboss Intros for xml with java config?
- No mapping found for HTTP request with URI [/test/WEB-INF/jsp/hello.jsp] in DispatcherServlet with name 'HelloWeb'
- Show login dialog when not authenticated yet
- How to keep a variable in the URL when using Spring LocaleChangeInterceptor
- LightAdmin - Customise parsing DateTime with app timezone
- Spring + TestNG Autowiring failure - NOT due to "new"
- Spring Boot MVC non-role based security
- Pretty print JSON with Spring 4
- How to initialize @DateTimeFormat Parameter on Get?
- Spring security /j_spring_security_login 404 error
- Use thymeleaf template for some pages and rest for some for building gradle project
- java.lang.StackOverflowError in spring controller
- submit dropdown angularjs spring MVC
Related Questions in SPRING-BOOT
- Timing Issue with Spring Boot Annotation Configuration
- LightAdmin - Customise parsing DateTime with app timezone
- Creating distribution with repackaged spring boot jar using gradle application plugin
- Spring Boot MVC non-role based security
- Add JVM args to spring boot application
- The method and() is undefined for the type HttpSecurity
- swagger ui not working for swagger version 2
- Spring IO Platform 2.0 - Themes/Changes?
- JPA findDistinctPropertyBy magic method doesn't work as expected when using spring-boot-starter-jpa
- Spring boot check external service status on boot
- Running a specific spring batch job amongst several jobs contained withing a spring boot fat jar
- Adding security to rest api service built with Spring Boot app
- Spring Redirecting from Http to Https Breaks Rest Controller Test
- Service not starting using Spring-boot during integration tests
- Spring Boot Actuator Health Returning DOWN
Related Questions in VAADIN
- Vaadin ServerRPC Exceptionhandling
- How to display MJPEG-stream in Vaadin (Java)?
- Vaadin - How to have two columns of data (Gridlayout with field and Label data with wrapping text)
- Log4j Logger not logging in some methods
- Building path for Vaadin project
- Vaadin CountdownClock Add On. How to freeze CountdownClock component and/or the appearance of count down tex
- I cannot change the theme for my UI in Vaadin
- Change orientation of rows and columns of Vaadin Grid
- How to change Vaadin 7 layout based on Combobox items selection?
- How to run tomcat7 web app through https over port 8443?
- How manage styles in Vaadin portlet in Liferay
- How to make only some columns editable in a Vaadin Grid?
- Vaadin request filter with filter chain?
- Vaadin is it possible to have different colors for text items in ComboBox
- count items in a column vaadin
Related Questions in VAADIN-FLOW
- Vaadin 14 Grid Component Column containing checkbox does not sort
- Trouble using custom skins within the TinyMCE for flow Vaadin component
- Vaadin 14 production mode and Safari issue
- Vaadin Grid-Pro handling of ESC while editing cell
- How to add attribute lang="en" to label element of an input field?
- Vaadin 23 upgrade issue with generated-flow-imports
- Vaadin 24: TinyMCE for Flow (Team Parttio version) Initial Render Blank
- CSS in embedded Vaadin applications not working
- Vaadin Grid show all item details by default
- Vaadin 23 throws RouteNotFoundException although it exists
- Issue with POST requests on Spring Boot 3/Spring Security 6 Vaadin 24 application
- Vaadin jetty live reload not picking up class changes
- Error launching application after migration from Vaadin 14 to Vaadin 24
- In a DatePicker in Vaadin Flow, how to get the invalid value?
- Vaadin flow exception when using keyboard shortcuts in grid editor
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Try annotating your EmployeeDisplay class with
@Route(value = "employeeDisplay")instead of@Route(value = "/employeeDisplay"). In other words, remove the/.