Skip to content

Instantly share code, notes, and snippets.

View jstrachan's full-sized avatar

James Strachan jstrachan

View GitHub Profile
[INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ camel-blueprint ---
[INFO] Using alternate deployment repository Local_Fabric::default::http://stracmac.home:8181/maven/upload/
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Downloading: http://stracmac.home:8181/maven/upload/com/mycompany/camel-blueprint/1.0.0-SNAPSHOT/maven-metadata.xml
Uploading: http://stracmac.home:8181/maven/upload/com/mycompany/camel-blueprint/1.0.0-SNAPSHOT/camel-blueprint-1.0.0-20121001.101031-1.jar
Uploading: http://stracmac.home:8181/maven/upload/com/mycompany/camel-blueprint/1.0.0-SNAPSHOT/camel-blueprint-1.0.0-20121001.101031-1.pom
[WARNING] Encountered issue during deployment: Failed to deploy artifacts: Could not find artifact com.mycompany:camel-blueprint:jar:1.0.0-20121001.101031-1 in Local_Fabric (http://stracmac.home:8181/maven/upload/)
[INFO] Retrying
[INFO] --- maven-bundle-plugin:2.3.4:install (default-install) @ camel-blueprint ---
[INFO] Installing com/mycompany/camel-blueprint/1.0.0-SNAPSHOT/camel-blueprint-1.0.0-SNAPSHOT.jar
[INFO] Writing OBR metadata
[INFO]
[INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ camel-blueprint ---
[INFO] Using alternate deployment repository Local_Fabric::default::http://stracmac.home:8181/maven/upload/
Downloading: http://stracmac.home:8181/maven/upload/com/mycompany/camel-blueprint/1.0.0-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata com.mycompany:camel-blueprint:1.0.0-SNAPSHOT/maven-metadata.xml from/to Local_Fabric (http://stracmac.home:8181/maven/upload/): Failed to transfer http://stracmac.home:8181/maven/upload/com/mycompany/camel-blueprint/1.0.0-SNAPSHOT/maven-metadata.xml. Error code 400, Filename:maven-metadata.xml doesn't match the artifactId:camel-blueprint and version:1.0.0-SNAPSHOT.
[WARNING] Encountered issue during deployment: Failed to retrieve remote metadata com.mycompan
ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: org.fusesource.ide.commons 3.0.0.qualifier
[ERROR] Missing requirement: org.apache.aries.blueprint 1.0.1.fuse-71-013 requires 'package org.apache.aries.util [1.0.0,2.0.0)' but it could not be found
[ERROR] Missing requirement: org.apache.aries.proxy.api 1.0.0 requires 'package org.apache.aries.util.nls [1.0.0,2.0.0)' but it could not be found
[ERROR] Cannot satisfy dependency: org.apache.aries.blueprint.core 1.0.1.fuse-71-013 depends on: package org.apache.aries.proxy [1.0.0,1.1.0)
[ERROR] Cannot satisfy dependency: org.apache.camel.camel-blueprint 2.10.0.fuse-71-013 depends on: package org.apache.aries.blueprint [0.2.0,2.0.0)
[ERROR] Cannot satisfy dependency: org.fusesource.ide.commons 3.0.0.qualifier depends on: bundle org.fusesource.tooling.camel-tooling-util 0.0.0
[ERROR] Cannot satisfy dependency: org.fusesource.tooling.camel-tooling-util 99.0.0.master-SNAPSHOT depends on: package org.apache.camel.blueprint [2.10
java.net.UnknownHostException: stracmac.local: stracmac.local: nodename nor servname provided, or not known
at java.net.InetAddress.getLocalHost(InetAddress.java:1438)[:1.7.0_07]
at org.apache.camel.management.DefaultManagementAgent.createMBeanServer(DefaultManagementAgent.java:348)[camel-core-2.11-SNAPSHOT.jar:2.11-SNAPSHOT]
at org.apache.camel.management.DefaultManagementAgent.doStart(DefaultManagementAgent.java:263)[camel-core-2.11-SNAPSHOT.jar:2.11-SNAPSHOT]
at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:60)[camel-core-2.11-SNAPSHOT.jar:2.11-SNAPSHOT]
at org.apache.camel.management.DefaultManagementStrategy.start(DefaultManagementStrategy.java:218)[camel-core-2.11-SNAPSHOT.jar:2.11-SNAPSHOT]
at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:64)[camel-core-2.11-SNAPSHOT.jar:2.11-SNAPSHOT]
at org.apache.camel.management.ManagementStrategyFactory.create(ManagementStrategyFactory.java:40)[camel-core-2.11-SNAPSHOT.jar:2.11-SNAPSHOT]
at org.apache.camel.impl.De
[ERROR] /workspace/java/fuse/fabric/fabric-webui/src/main/scala/org/fusesource/fabric/webui/Services.scala:30: error: ComputeProviderListener is not a member of org.jclouds.karaf.core
[INFO] import org.jclouds.karaf.core.ComputeProviderListener
[INFO] ^
[ERROR] /workspace/java/fuse/fabric/fabric-webui/src/main/scala/org/fusesource/fabric/webui/Services.scala:68: error: not found: type ComputeProviderListener
[INFO] def setComputeProviderListener(listener: ComputeProviderListener): Unit = _compute_provider_listener = listener
[INFO] ^
[ERROR] /workspace/java/fuse/fabric/fabric-webui/src/main/scala/org/fusesource/fabric/webui/Services.scala:155: error: not found: type ComputeProviderListener
[INFO] protected var _compute_provider_listener: ComputeProviderListener = _
[INFO] ^
// inject all current routes...
@Produces
CamelContext createMyContext(@Inject Instance<RouteBuilder> routes) {
return new CdiCamelContext(routes);
}
// inject certain routes to a named context
@Produces
@Named("myAccountingCamelContext")
CamelContext createMyContext(@Inject @Accounting Instance<RouteBuilder> routes) {
/sec)
[ERROR] Internal error: java.lang.RuntimeException: Could not resolve project dependencies: Missing:
[ERROR] ----------
[ERROR] 1) org.springframework.osgi:spring-osgi-io:jar:2.0.0.M2-SNAPSHOT
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=org.springframework.osgi -DartifactId=spring-osgi-io -Dversion=2.0.0.M2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
[ERROR]
package dummy
import kotlin.dom.*
import io.kool.template.html.*
import org.w3c.dom.*
public fun myTemplate(doc: Document = createDocument()): Element = doc.html {
head {
title("This is my title")
}
add this to your pom.xml
<dependency>
<groupId>com.intellij</groupId>
<artifactId>annotations</artifactId>
<version>9.0.4</version>
<scope>test</scope>
</dependency>
then use the @Language("HTML") annotation...
java.lang.NullPointerException
at org.apache.felix.gogo.commands.basic.DefaultActionPreparator.prepare(DefaultActionPreparator.java:175)[15:org.apache.karaf.shell.console:2.2.5.fuse-70-070]
at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:34)[15:org.apache.karaf.shell.console:2.2.5.fuse-70-070]
at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[15:org.apache.karaf.shell.console:2.2.5.fuse-70-070]
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)[15:org.apache.karaf.shell.console:2.2.5.fuse-70-070]
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)[15:org.apache.karaf.shell.console:2.2.5.fuse-70-070]
at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[15:org.apache.karaf.shell.console:2.2.5.fuse-70-070]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[15:org.apache.karaf.shell.console:2.2.5.fuse-70-070]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[15:org