public class DefaultExceptionHandlerTest extends Object
Constructor and Description |
---|
DefaultExceptionHandlerTest() |
Modifier and Type | Method and Description |
---|---|
void |
testHandleExceptionAetherClassNotFound() |
void |
testHandleExceptionNoClassDefFoundErrorNull() |
void |
testJdk7ipv6()
Running Maven under JDK7 may cause connection issues because IPv6 is used by default.
|
public void testJdk7ipv6()
e.g running mvn site:run will cause Jetty to fail.
The resolution is to add -Djava.net.preferIPv4Stack=true to the command line as documented in http://cwiki.apache.org/confluence/display/MAVEN/ConnectException
public void testHandleExceptionAetherClassNotFound()
public void testHandleExceptionNoClassDefFoundErrorNull()
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.