Internal Server error HTTP 500?

2 Antworten

Ja. Schauen was der log output des Jetty sagt. Die 500er Meldung deines Browsers sagt rein gar nix aus.

Wie wärs, wenn du im Serverlog nachsiehst, was der Fehler ist?

Ich finde hier keinen Fehler woran es liegen könnte, beschäftige mich damit allerdings erst seit ein paar Tagen.

mvn jetty:run

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)

WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations

WARNING: All illegal access operations will be denied in a future release

[INFO] Scanning for projects...

[INFO]

[INFO] ---------------------------< org.arbeit:def >---------------------------

[INFO] Building def 0.0.1-SNAPSHOT

[INFO] --------------------------------[ war ]---------------------------------

[INFO]

[INFO] >>> jetty-maven-plugin:9.4.18.v20190429:run (default-cli) > test-compile @ def >>>

[INFO]

[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ def ---

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] Copying 0 resource

[INFO]

[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ def ---

[INFO] Nothing to compile - all classes are up to date

[INFO]

[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ def ---

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] skip non existing resourceDirectory /mnt/c/Users/xxxxx/eclipse-workspace/def/src/test/resources

[INFO]

[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ def ---

[INFO] Nothing to compile - all classes are up to date

[INFO]

[INFO] <<< jetty-maven-plugin:9.4.18.v20190429:run (default-cli) < test-compile @ def <<<

[INFO]

[INFO]

[INFO] --- jetty-maven-plugin:9.4.18.v20190429:run (default-cli) @ def ---

[INFO] webAppSourceDirectory not set. Trying src/main/webapp

[INFO] Reload Mechanic: automatic

[INFO] nonBlocking:false

[INFO] Classes = /mnt/c/Users/xxxxx/eclipse-workspace/def/target/classes

[INFO] Configuring Jetty for project: def

[INFO] Logging initialized @11100ms to org.eclipse.jetty.util.log.Slf4jLog

[INFO] Context path = /

[INFO] Tmp directory = /mnt/c/Users/xxxxx/eclipse-workspace/def/target/tmp

[INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml

[INFO] Web overrides = none

[INFO] web.xml file = file:///mnt/c/Users/xxxxx/eclipse-workspace/def/src/main/webapp/WEB-INF/web.xml

[INFO] Webapp directory = /mnt/c/Users/xxxxx/eclipse-workspace/def/src/main/webapp

[INFO] jetty-9.4.18.v20190429; built: 2019-04-29T20:42:08.989Z; git: e1bc35120a6617ee3df052294e433f3a25ce7097; jvm 11.0.2+9-Ubuntu-3ubuntu118.04.3

[INFO] Scanning elapsed time=759ms

[INFO] DefaultSessionIdManager workerName=node0

[INFO] No SessionScavenger set, using defaults

[INFO] node0 Scavenging every 660000ms

[INFO] Started o.e.j.m.p.JettyWebAppContext@57272109{/,file:///mnt/c/Users/xxxxx/eclipse-workspace/def/src/main/webapp/,AVAILABLE}{file:///mnt/c/Users/xxxxx/eclipse-workspace/def/src/main/webapp/}

[INFO] Started ServerConnector@2b44605c{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}

[INFO] Started @16848ms

[INFO] Started Jetty Server

0

Was möchtest Du wissen?