WAS Liberty (wlp-webProfile8-19.0.0.8). My-starter-project (servlet) from vaadin.com/start.
In pom file I changed target jar to war, clean install, got war, mvn jetty:run. All works fine.
Then I copy my-starter-project.war to droppins,
I succesfully started server Liberty, so in apps/expanded I see unpacked archive without any error messages.
But when I try: localhost:9080/my-starter… I get:
Exception: 'com.vaadin.flow.server.VaadinServlet.service:248'
javax.servlet.ServletException: com.vaadin.flow.server.ServiceException: java.lang.NullPointerException
at com.vaadin.flow.server.VaadinServlet.service(VaadinServlet.java:248)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:791)
at [internal classes]
Caused by: com.vaadin.flow.server.ServiceException: java.lang.NullPointerException
at com.vaadin.flow.server.VaadinService.handleExceptionDuringRequest(VaadinService.java:1589)
at com.vaadin.flow.server.VaadinService.handleRequest(VaadinService.java:1552)
at com.vaadin.flow.server.VaadinServlet.service(VaadinServlet.java:246)
I checked three samples from vaadin/start.
May be I need tell something else to Liberty in config? Does I need install node.js?