This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private class CxfInvocationCallback implements InvocationCallback<Response> { | |
private final Exchange exchange; | |
private final CxfRsBinding binding; | |
private final Class<?> responseClass; | |
private final AsyncCallback callback; | |
private final Type type; | |
private CxfInvocationCallback(Exchange exchange, CxfRsBinding binding, Class<?> responseClass, AsyncCallback callback, Type type) { | |
this.exchange = exchange; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
decset: decset.c | |
gcc `pkg-config --cflags --libs glib-2.0` -c decset.c | |
decset.c file: | |
#include <string.h> | |
#include <glib.h> | |
#include <stdio.h> | |
#include <unistd.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
org.xml.sax.SAXParseException: s4s-att-invalid-value: Invalid attribute value for 'type' in element 'attribute'. Recorded reason: cvc-datatype-valid.1.2.1: 'pt:' is not a valid value for 'QName'. | |
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:201)[:2.11.0.SP4-redhat-1] | |
at org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:132)[:2.11.0.SP4-redhat-1] | |
at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:394)[:2.11.0.SP4-redhat-1] | |
at org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaError(XSDHandler.java:4093)[:2.11.0.SP4-redhat-1] | |
at org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaError(XSDHandler.java:4088)[:2.11.0.SP4-redhat-1] | |
at org.apache.xerces.impl.xs.traversers.XSAttributeChecker.reportSchemaError(XSAttributeChecker.java:1527)[:2.11.0.SP4-redhat-1] | |
at org.apache.xerces.impl.xs.traversers.XSAttributeChecker.checkAttributes(XSAttributeChecker.java:1134)[:2.11.0.SP4-redhat-1] | |
at org.a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public URL getSchemaLocation(String namespace) { | |
final ClassLoader classLoader = getClass().getClassLoader(); | |
if ("http://cxf.apache.org/blueprint/jaxws".equals(namespace)) { | |
return classLoader.getResource("schemas/blueprint/jaxws.xsd"); | |
} else { | |
try { | |
Class<?> extNsHandlerClazz; | |
Bundle extBundle = FrameworkUtil.getBundle(Endpoint.class); | |
if (extBundle == null) { | |
// we may not be in OSGi environment |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<activation> | |
<jdk>(,9)</jdk> | |
</activation> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) | |
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) | |
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) | |
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) | |
Caused by: java.lang.ArrayIndexOutOfBoundsException: 1 | |
at org.codehaus.plexus.archiver.zip.AbstractZipArchiver.<clinit>(AbstractZipArchiver.java:116) | |
... 88 more |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Integer.parseInt( System.getProperty( "java.version" ).split( "\\." )[1] ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static int getJavaVersion(){ | |
String javaSpecVersion = System.getProperty( "java.specification.version" ); | |
if (javaSpecVersion.contains(".")) {//before jdk 9 | |
return Integer.parseInt(javaSpecVersion.split("\\.")[1]); | |
}else { | |
return Integer.parseInt(javaSpecVersion); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlRootElement | |
at org.apache.camel.tools.apt.ModelAnnotationProcessor.process(ModelAnnotationProcessor.java:49) | |
at jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:968) | |
at jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:884) | |
at jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment.access$2200(JavacProcessingEnvironment.java:108) | |
at jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1204) | |
at jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1313) | |
at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1267) | |
at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:943) | |
at jdk.compiler/com.sun.tools.javac.m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<profile> | |
<id>jdk9-build</id> | |
<activation> | |
<jdk>9</jdk> | |
</activation> | |
<build> | |
<pluginManagement> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> |
OlderNewer