Potrzebuję pomocy w konfiguracji projektu. Prosta RESTowa apka.
Build path specifies execution environment JavaSE-1.8. There are no JREs installed in the workspace that are strictly compatible with this environment.
Mam Javę SE jaki RE 9.
java version "9.0.1"
Java(TM) SE Runtime Environment (build 9.0.1+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)
Wszystko mam tak jak autor tutoriala. Trochę musiałem się namęczyć z dodaniem pewnym dependecies w pom.xml bo brakowało. W screenie warning z błędu.
Odpalenie serwera wywala wyjątki
javax.servlet.ServletException: Servlet.init() for servlet [Jersey Web App] threw exception
java.lang.IllegalArgumentException
- error_rest.png (73 KB) - ściągnięć: 123