Re: Install error

12 views
Skip to first unread message

Nicolas

unread,
Mar 22, 2012, 4:04:23 AM3/22/12
to little...@googlegroups.com
Hello,
Have you used the last version from git.
I am able to compile without any issue.

Could you run the command
mvn dependency:tree
from the directory,
/root/littleims-src/littleims-debug-id

The output should be like:

[INFO] ------------------------------------------------------------------------
[INFO] Building littleIMS :: P-Debug-ID 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ littleims-debug-id ---
[INFO] org.cipango.littleims:littleims-debug-id:jar:1.0-SNAPSHOT
[INFO] +- org.cipango:cipango-server:jar:2.1:compile
[INFO] | +- org.eclipse.jetty:jetty-server:jar:7.5.0.v20110901:compile
[INFO] | | +- org.eclipse.jetty:jetty-continuation:jar:7.5.0.v20110901:compile
[INFO] | | \- org.eclipse.jetty:jetty-http:jar:7.5.0.v20110901:compile
[INFO] | | \- org.eclipse.jetty:jetty-io:jar:7.5.0.v20110901:compile
[INFO] | +- org.eclipse.jetty:jetty-util:jar:7.5.0.v20110901:compile
[INFO] | +- org.eclipse.jetty:jetty-webapp:jar:7.5.0.v20110901:compile
[INFO] | | \- org.eclipse.jetty:jetty-xml:jar:7.5.0.v20110901:compile
[INFO] | \- org.eclipse.jetty:jetty-servlet:jar:7.5.0.v20110901:compile
[INFO] | \- org.eclipse.jetty:jetty-security:jar:7.5.0.v20110901:compile
[INFO] +- org.cipango:cipango-callflow:jar:2.1:compile
[INFO] | +- org.cipango:cipango-jmx:jar:2.1:compile
[INFO] | | \- org.eclipse.jetty:jetty-jmx:jar:7.5.0.v20110901:compile
[INFO] | +- org.cipango:cipango-diameter:jar:2.1:compile
[INFO] | | \- org.apache.xmlbeans:xmlbeans:jar:2.4.0:compile
[INFO] | | \- stax:stax-api:jar:1.0.1:compile
[INFO] | \- commons-jexl:commons-jexl:jar:1.1:compile
[INFO] | \- commons-logging:commons-logging:jar:1.0.3:compile
[INFO] +- javax.servlet:sip-api:jar:1.1:provided
[INFO] +- javax.servlet:servlet-api:jar:2.5:provided
[INFO] +- junit:junit:jar:3.8.1:test
[INFO] +- org.slf4j:slf4j-api:jar:1.6.1:provided (scope not updated to compile)
[INFO] \- org.slf4j:jcl-over-slf4j:jar:1.6.1:compile
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.053s
[INFO] Finished at: Thu Mar 22 08:54:04 CET 2012
[INFO] Final Memory: 6M/22M
[INFO] ------------------------------------------------------------------------


Regards,
Nicolas

Le 22/03/2012 05:40, ims a �crit :
> Hi,
>
> I am running into an error while installing LittleIMS. Could ou please
> let me know if there are any steps I am missing?
>
> Thanks,
>
> mvn install error:
>
> [INFO] Building littleIMS :: P-Debug-ID
> [INFO] task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [resources:resources {execution: default-resources}]
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered
> resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory /root/littleims-src/
> littleims-debug-id/src/main/resources
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 3 source files to /root/littleims-src/littleims-debug-
> id/target/classes
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
>
> JmxMessageLog.java:[16,33] package org.eclipse.jetty.util.log does not
> exist
>
> JmxMessageLog.java:[18,7] cannot access
> org.eclipse.jetty.util.component.AbstractLifeCycle
> class file for org.eclipse.jetty.util.component.AbstractLifeCycle not
> found
> public class JmxMessageLog extends org.cipango.callflow.JmxMessageLog
>
> JmxMessageLogMBean.java:[19,28] package org.eclipse.jetty.jmx does not
> exist
>
> JmxMessageLogMBean.java:[21,40] cannot find symbol
> symbol: class ObjectMBean
> public class JmxMessageLogMBean extends ObjectMBean
>
> DebugIdMessageLog.java:[30,27] package org.eclipse.jetty.io does not
> exist
>
> DebugIdMessageLog.java:[31,29] package org.eclipse.jetty.util does not
> exist
>
> JmxMessageLog.java:[33,3] addAlias(java.lang.String,java.lang.String)
> in org.cipango.ims.JmxMessageLog cannot be applied to
> (java.lang.String,int,java.lang.String)
>
> JmxMessageLog.java:[39,3] cannot find symbol
> symbol : variable Log
> location: class org.cipango.ims.JmxMessageLog
>
> JmxMessageLogMBean.java:[32,1] method does not override or implement a
> method from a supertype
>
> DebugIdMessageLog.java:[59,12] cannot find symbol
> symbol : class Buffer
> location: class org.cipango.ims.DebugIdMessageLog
>
> DebugIdMessageLog.java:[61,25] package StringUtil does not exist
>
> DebugIdMessageLog.java:[43,1] method does not override or implement a
> method from a supertype
>
> DebugIdMessageLog.java:[97,1] method does not override or implement a
> method from a supertype
>
>
>

pallavi mavinkurve

unread,
Apr 5, 2012, 1:28:08 AM4/5/12
to littleims-dev
Hello,

After resolving dependency errors, I am getting following output for
mv install -fae

[INFO] Reactor Summary:
[INFO]
------------------------------------------------------------------------
[INFO] littleIMS :: Project .................................. SUCCESS
[4.938s]
[INFO] littleIMS :: P-Debug-ID ............................... SUCCESS
[2.584s]
[INFO] littleIMS :: Common ................................... SUCCESS
[1.389s]
[INFO] littleIMS :: HSS ...................................... SUCCESS
[6.850s]
[INFO] littleIMS :: P-CSCF ................................... FAILED
[1.221s]
[INFO] littleIMS :: S-CSCF ................................... FAILED
[1.751s]
[INFO] littleIMS :: I-CSCF ................................... SUCCESS
[2.825s]
[INFO] littleIMS :: Distribution ............................. SKIPPED
(dependency build failed or was skipped)
[INFO]
------------------------------------------------------------------------
[INFO] Error for project: littleIMS :: P-CSCF (during install)
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to /root/littleims-src/littleims-pcscf/target/surefire-
reports for the individual test results.
[INFO]
------------------------------------------------------------------------
[INFO] Error for project: littleIMS :: S-CSCF (during install)
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to /root/littleims-src/littleims-scscf/target/surefire-
reports for the individual test results.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] BUILD ERRORS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 22 seconds
[INFO] Finished at: Wed Apr 04 22:24:43 PDT 2012
[INFO] Final Memory: 23M/185M
[INFO]
------------------------------------------------------------------------


The test output shows:
------------------------------------------------------------------------------
Test set: org.cipango.littleims.pcscf.subscription.debug.DebugConfTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.426
sec <<< FAILURE!
warning(junit.framework.TestSuite$1) Time elapsed: 0.024 sec <<<
FAILURE!
junit.framework.AssertionFailedError: Exception in constructor:
testDebugConf (java.lang.Error: Unresolved compilation problems:
The import org.cipango.ims.pcscf cannot be resolved
The import org.cipango.ims.pcscf cannot be resolved
DebuginfoDocument cannot be resolved to a type
DebuginfoDocument cannot be resolved
Debuginfo cannot be resolved to a type
org.cipango.ims.pcscf.debug.data.DebuginfoDocument cannot be
resolved to a variable
at
org.cipango.littleims.pcscf.subscription.debug.DebugConfTest.<init>(DebugConfTest.java:
7)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:
57)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:
45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:
532)
at junit.framework.TestSuite.createTest(TestSuite.java:131)
at junit.framework.TestSuite.addTestMethod(TestSuite.java:114)
at junit.framework.TestSuite.<init>(TestSuite.java:75)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:
57)

Nicolas

unread,
Apr 5, 2012, 3:00:18 AM4/5/12
to little...@googlegroups.com
Hello,
I think that this issue due to some generated classes by XML beans are no more
present.
A mvn clean install should solve this issue.

Regards,
Nicolas

Le 05/04/2012 07:28, pallavi mavinkurve a �crit :

Reply all
Reply to author
Forward
0 new messages