directory for the source uses the compound package name
org.glassfish.samples.websocket.echo,
instead of creating a hierarchy of package directories : org/glassfish/samples/websocket/echo
Suggested solution
preplace directory
glassfish-samples/ws/jakartaee9/websocket/echo/src/main/java/org.glassfish.samples.websocket.echo
with
the sample web appl has an incorrect director y structure for the java file /. ref: https://github.com/eclipse-ee4j/glassfish-samples/tree/master/ws/jakartaee9/websocket/echo/src/main
directory for the source uses the compound package name org.glassfish.samples.websocket.echo,
instead of creating a hierarchy of package directories : org/glassfish/samples/websocket/echo
Suggested solution
preplace directory