Do you have Eclipse running as well?
I have found that sometimes, Eclipse notices changes due "mvn clean"
then Eclipse and mvn compete to build things. Generally, leaving the
Eclipse UI alone is OK (not perfect).
Andy
On 13/10/18 17:45, Claude Warren wrote:
When I execute
mvn clean install -Pdev
I get errors in TDB2 build along the line of:
TEST-org.apache.jena.tdb2.sys.TestDatabaseOps.xml: <error message="Could
not initialize class org.apache.jena.tdb2.sys.SystemTDB"
type="java.lang.NoClassDefFoundError">java.lang.NoClassDefFoundError: Could
not initialize class org.apache.jena.tdb2.sys.SystemTDB
The list of classes not found seems to be:
org.apache.jena.tdb2.assembler.TestTDBAssembler"
org.apache.jena.tdb2.ConfigTest"
org.apache.jena.tdb2.loader.AbstractTestLoader"
org.apache.jena.tdb2.setup.StoreParamsConst"
org.apache.jena.tdb2.setup.TestStoreParamsChoose"
org.apache.jena.tdb2.setup.TestStoreParamsCreate"
org.apache.jena.tdb2.solver.TestStats"
org.apache.jena.tdb2.store.NodeId"
org.apache.jena.tdb2.store.nodetable.TestNodeTableStored"
org.apache.jena.tdb2.store.nodetable.TestNodeTableStoredBase"
org.apache.jena.tdb2.sys.SystemTDB"
org.apache.jena.tdb2.TDB2"
(The above was extracted using grep NoClassDefFound * | cut -d' ' -f10 |
sort | uniq)
java -version
openjdk version "1.8.0_181"
OpenJDK Runtime Environment (build 1.8.0_181-8u181-b13-0ubuntu0.16.04.1-b13)
OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode)
any ideas what might be wrong?
Any ideas what