• Error during build

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #23437  by harishklth
 
Description Resource Path Location Type
com.thoughtworks.xstream.io.HierarchicalStreamDriver pom.xml /openkm line 1 Maven Configuration Problem
Project configuration is not up-to-date with pom.xml. Run Maven->Update Project or use Quick Fix. openkm line 1 Maven Configuration Problem


Help me to solve the issue
 #23496  by pavila
 
I think this class is not used in OpenKM. Where OpenKM class is having troubles compiling?
 #23537  by harishklth
 
I am attaching the console log. Please go through it and provide a solution.
Code: Select all
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.
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building OpenKM Web Application 6.2.4-DEV
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ openkm ---
[INFO] Deleting C:\Users\Paru\Desktop\openkm\target
[INFO] Deleting C:\Users\Paru\Desktop\openkm\war\WEB-INF\classes
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.0:create (default) @ openkm ---
[INFO] Checking for local modifications: skipped.
[INFO] Updating project files from SCM: skipped.
[INFO] Executing: cmd.exe /X /C "svn --non-interactive info"
[INFO] Working directory: C:\Users\Paru\Desktop\openkm
[INFO] Storing buildNumber: 8076 at timestamp: 1371288133385
[INFO] Executing: cmd.exe /X /C "svn --non-interactive info"
[INFO] Working directory: C:\Users\Paru\Desktop\openkm
[INFO] Storing buildScmBranch: branches/6.2/openkm
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ openkm ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 516 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ openkm ---
[INFO] Compiling 1081 source files to C:\Users\Paru\Desktop\openkm\war\WEB-INF\classes
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ openkm ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] 
[INFO] --- maven-compiler-plugin:2.0.2:testCompile (default-testCompile) @ openkm ---
[INFO] Not compiling test sources
[INFO] 
[INFO] --- maven-surefire-plugin:2.10:test (default-test) @ openkm ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- gwt-maven-plugin:2.4.0:compile (default) @ openkm ---
[INFO] Compiling module com.openkm.frontend.Main
[INFO]    Validating newly compiled units
[INFO]       Ignored 5 units with compilation errors in first pass.
[INFO] Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
[INFO]    Scanning for additional dependencies: jar:file:/C:/Users/Paru/.m2/repository/com/google/gwt/gwt-

incubator/2.1.0/gwt-incubator-2.1.0.jar!/com/google/gwt/gen2/table/client/AbstractScrollTable.java
[INFO]       Computing all possible rebind results for 'com.google.gwt.gen2.table.client.AbstractScrollTable.Impl'
[INFO]          Rebinding com.google.gwt.gen2.table.client.AbstractScrollTable.Impl
[INFO]             Could not find an exact match rule. Using 'closest' rule <replace-with 

class='com.google.gwt.gen2.table.client.AbstractScrollTable.ImplIE6'/> based on fall back values. You may need to 

implement a specific binding in case the fall back behavior does not replace the missing binding
[INFO]    Scanning for additional dependencies: jar:file:/C:/Users/Paru/.m2/repository/com/google/gwt/gwt-

incubator/2.1.0/gwt-incubator-2.1.0.jar!/com/google/gwt/gen2/table/client/FixedWidthTableImpl.java
[INFO]       Computing all possible rebind results for 'com.google.gwt.gen2.table.client.FixedWidthTableImpl.Impl'
[INFO]          Rebinding com.google.gwt.gen2.table.client.FixedWidthTableImpl.Impl
[INFO]             Could not find an exact match rule. Using 'closest' rule <replace-with 

class='com.google.gwt.gen2.table.client.FixedWidthTableImpl.ImplIE8'/> based on fall back values. You may need to 

implement a specific binding in case the fall back behavior does not replace the missing binding
[INFO]    Compiling 6 permutations
[INFO]       Compiling permutation 0...
[INFO]       Compiling permutation 4...
[INFO]       Process output
[INFO]          [ERROR] Communication error
[INFO]          java.net.SocketException: Connection reset
[INFO]          	at java.net.SocketInputStream.read(SocketInputStream.java:189)
[INFO]          	at java.net.SocketInputStream.read(SocketInputStream.java:121)
[INFO]          	at java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2283)
[INFO]          	at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2296)
[INFO]          	at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2767)
[INFO]          	at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:798)
[INFO]          	at java.io.ObjectInputStream.<init>(ObjectInputStream.java:298)
[INFO]          	at com.google.gwt.dev.CompilePermsServer.run(CompilePermsServer.java:252)
[INFO]          	at com.google.gwt.dev.CompilePermsServer.main(CompilePermsServer.java:237)
[INFO]       Process output
[INFO]          Compiling
[INFO]             Compiling permutation 3...
[INFO]       Process output
[INFO]          Compiling
[INFO]             Compiling permutation 2...
[INFO]          Compiling
[INFO]             Compiling permutation 5...
[INFO]          Compiling
[INFO]             Compiling permutation 1...
[INFO]    Compile of permutations succeeded
[INFO] Linking into C:\Users\Paru\Desktop\openkm\target\OpenKM\frontend
[INFO]    Link succeeded
[INFO]    Compilation succeeded -- 1664.481s
[ERROR] Exception in thread "UnitWriteThread" java.lang.RuntimeException: Unable to read from byte cache
[ERROR] 	at com.google.gwt.dev.util.DiskCache.transferToStream(DiskCache.java:196)
[ERROR] 	at com.google.gwt.dev.util.DiskCacheToken.writeObject(DiskCacheToken.java:91)
[ERROR] 	at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
[ERROR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERROR] 	at java.lang.reflect.Method.invoke(Method.java:601)
[ERROR] 	at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:962)
[ERROR] 	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1480)
[ERROR] 	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416)
[ERROR] 	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)
[ERROR] 	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1528)
[ERROR] 	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493)
[ERROR] 	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416)
[ERROR] 	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)
[ERROR] 	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:346)
[ERROR] 	at com.google.gwt.dev.javac.PersistentUnitCache$UnitWriter.run(PersistentUnitCache.java:226)
[ERROR] Caused by: java.io.EOFException
[ERROR] 	at java.io.RandomAccessFile.readInt(RandomAccessFile.java:776)
[ERROR] 	at com.google.gwt.dev.util.DiskCache.transferToStream(DiskCache.java:183)
[ERROR] 	... 14 more
[INFO] 
[INFO] --- maven-war-plugin:2.1.1:war (default-war) @ openkm ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 33:33.102s
[INFO] Finished at: Sat Jun 15 15:24:49 IST 2013
[INFO] Final Memory: 34M/192M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.1.1:war (default-war) on project openkm: 

Execution default-war of goal org.apache.maven.plugins:maven-war-plugin:2.1.1:war failed: Unable to load the mojo 

'war' in the plugin 'org.apache.maven.plugins:maven-war-plugin:2.1.1'. A required class is missing: 

com/thoughtworks/xstream/io/HierarchicalStreamDriver
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>org.apache.maven.plugins:maven-war-plugin:2.1.1
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/C:/Users/Paru/.m2/repository/org/apache/maven/plugins/maven-war-plugin/2.1.1/maven-war-

plugin-2.1.1.jar
[ERROR] urls[1] = file:/C:/Users/Paru/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.0.6/maven-

reporting-api-2.0.6.jar
[ERROR] urls[2] = file:/C:/Users/Paru/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-7/doxia-sink-

api-1.0-alpha-7.jar
[ERROR] urls[3] = file:/C:/Users/Paru/.m2/repository/commons-cli/commons-cli/1.0/commons-cli-1.0.jar
[ERROR] urls[4] = file:/C:/Users/Paru/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-

4/plexus-interactivity-api-1.0-alpha-4.jar
[ERROR] urls[5] = file:/C:/Users/Paru/.m2/repository/org/apache/maven/maven-archiver/2.4.1/maven-archiver-2.4.1.jar
[ERROR] urls[6] = file:/C:/Users/Paru/.m2/repository/org/codehaus/plexus/plexus-archiver/1.2/plexus-archiver-

1.2.jar
[ERROR] urls[7] = file:/C:/Users/Paru/.m2/repository/org/codehaus/plexus/plexus-io/1.0.1/plexus-io-1.0.1.jar
[ERROR] urls[8] = file:/C:/Users/Paru/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.13/plexus-

interpolation-1.13.jar
[ERROR] urls[9] = file:/C:/Users/Paru/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
[ERROR] urls[10] = file:/C:/Users/Paru/.m2/repository/com/thoughtworks/xstream/xstream/1.3.1/xstream-1.3.1.jar
[ERROR] urls[11] = file:/C:/Users/Paru/.m2/repository/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar
[ERROR] urls[12] = file:/C:/Users/Paru/.m2/repository/org/codehaus/plexus/plexus-utils/2.0.5/plexus-utils-2.0.5.jar
[ERROR] urls[13] = file:/C:/Users/Paru/.m2/repository/org/apache/maven/shared/maven-filtering/1.0-beta-2/maven-

filtering-1.0-beta-2.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
[ERROR] 
[ERROR] -----------------------------------------------------: com.thoughtworks.xstream.io.HierarchicalStreamDriver
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
 #23541  by pavila
 
These error are related to Maven, not are errors in OpenKM source code, and never seen them. Perhaps you should ask in a Maven forum. As you can see at http://integration.openkm.com/6.2/ the nigthbuild is compiling ok.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.