Skip to content

Instantly share code, notes, and snippets.

[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building mymaventheme 1.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ mymaventheme ---
[INFO]
[INFO] --- com.liferay.portal.tools.theme.builder:1.1.7:build (default) @ mymaventheme ---
/Users/lawrence/Desktop/tmp/themewsmaven/wars/sampletheme
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building sampletheme 1.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ sampletheme ---
[INFO]
[INFO] --- com.liferay.portal.tools.bundle.support:3.4.3:clean (clean) @ sampletheme ---
lawrence$ mvn clean verify
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building sampletheme 1.0.0
[INFO] ------------------------------------------------------------------------
Downloading: https://repo.maven.apache.org/maven2/com/liferay/com.liferay.frontend.css.common/4.0.1/com.liferay.frontend.css.common-4.0.1.pom
Downloaded: https://repo.maven.apache.org/maven2/com/liferay/com.liferay.frontend.css.common/4.0.1/com.liferay.frontend.css.common-4.0.1.pom (2 KB at 2.6 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/com/liferay/com.liferay.frontend.theme.styled/4.0.14/com.liferay.frontend.theme.styled-4.0.14.pom
Downloaded: https://repo.maven.apache.org/maven2/com/liferay/com.liferay.frontend.theme.styled/4.0.14/com.liferay.frontend.theme.styled-4.0.14.pom (2 KB at 12.3 KB/sec)
> Task :apps:service-builder:jdbc:jdbc-service:testIntegration
2019-10-04 16:38:32.128 INFO [RMI TCP Connection(10)-10.50.0.99][BundleStartStopLogger:39] STARTED com.liferay.blade.samples.jdbcservicebuilder.api_1.0.0 [1121]
2019-10-04 16:38:56.639 WARN [RMI TCP Connection(11)-10.50.0.99][ModuleApplicationContext:185] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liferayDataSource' defined in URL [bundleentry://1122.fwk909278444/META-INF/spring/ext-spring.xml]: Cannot resolve reference to bean 'liferayDataSourceFactory' while setting bean property 'targetDataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liferayDataSourceFactory' defined in URL [bundleentry://1122.fwk909278444/META-INF/spring/ext-spring.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
2019-10-04 16:38:56.645
buildscript {
dependencies {
classpath group: "com.liferay", name: "com.liferay.css.builder", version: "3.0.0"
}
repositories {
maven {
url "https://repository-cdn.liferay.com/nexus/content/groups/public"
}
}