start vaadin

i copied exactly what the tutorial did

using java 19

if you run with tomcat server, you should add “SpringBootServletInitializer”. EX
@SpringBootApplication
public class Application extends SpringBootServletInitializer {
}

Thanks I’ll try it out

I’m getting the same error

package com.Moody.Dashboard;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

@SpringBootApplication
public class DashboardApplication extends SpringBootServletInitializer {
    public static void main(String[] args) {
        SpringApplication.run(DashboardApplication.class, args);
    }
}

this is my code

is it cause im usingjava 19?

I use java 15, springboot 2.7.3 and vaadin 23, Tomcat 9.0

unknown.png

I don’t know what tomcat is

I’m completely new to web development and spring boot

I saw vaadin on YouTube and just followed the tutorial

The issue you have posted originally doesn’t say anything about the root problem - normally those are at the bottom of the stacktrace in java

ah I see

I’ll try to send it tmr as it’s late rn

https://pastebin.com/6qshG6rd

this is the full error

There must be something missing - this doesn’t indicate anything :sweat_smile: can you share the whole starting log?

sure