hi have some error while run command mvn package (try to install window 
based Dspace software)

C:\Program Files (x86)\Java\jdk1.8.0_144>mvn package
[INFO] Scanning for projects...
[INFO] 
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 0.203 s
[INFO] Finished at: 2018-03-31T13:49:39+05:30
[INFO] Final Memory: 4M/15M
[INFO] 
------------------------------------------------------------------------
[ERROR] The goal you specified requires a project to execute but there is 
no POM in this directory (C:\Program Files (x86)\Java\jdk1.8.0_144). Please 
verify you invoked Maven from the correct directory. -> [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/MissingProjectException
'cmd' is not recognized as an internal or external command,
operable program or batch file.


please solve my this error.

its urgently.


subhash mayangade

[email protected]

On Tuesday, August 25, 2015 at 11:33:02 PM UTC+5:30, Alex Maia Sanchez 
wrote:
>
> When I run mvn package I get the following error message:
>
> [INFO] Scanning for projects...
> [INFO] Reactor build order: 
> [INFO]   DSpace Addon Modules
> [INFO]   DSpace XML-UI (Manakin) :: Web Application
> [INFO]   DSpace LNI :: Web Application
> [INFO]   DSpace OAI :: Web Application
> [INFO]   DSpace JSP-UI :: Web Application
> [INFO]   DSpace SWORD :: Web Application
> [INFO]   DSpace SOLR :: Web Application
> [INFO]   DSpace Assembly and Configuration
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Building DSpace Addon Modules
> [INFO]    task-segment: [package]
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Building DSpace XML-UI (Manakin) :: Web Application
> [INFO]    task-segment: [package]
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory 
> /srv/dspace/modules/xmlui/src/main/resources
> [INFO] artifact org.dspace:dspace-xmlui-lang: checking for updates from 
> java.net
> [INFO] artifact org.dspace:dspace-api-lang: checking for updates from 
> java.net
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] No sources to compile
> [INFO] [resources:testResources {execution: default-testResources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory 
> /srv/dspace/modules/xmlui/src/test/resources
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] No sources to compile
> [INFO] [surefire:test {execution: default-test}]
> [INFO] No tests to run.
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Could not instantiate converter : 
> com.thoughtworks.xstream.converters.extended.DurationConverter : null
> gnu.xml.datatype.JAXPDatatypeFactory
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Trace
> com.thoughtworks.xstream.XStream$InitializationException: Could not 
> instantiate converter : 
> com.thoughtworks.xstream.converters.extended.DurationConverter : null
>    at 
> com.thoughtworks.xstream.XStream.dynamicallyRegisterConverter(XStream.java:732)
>    at com.thoughtworks.xstream.XStream.setupConverters(XStream.java:696)
>    at com.thoughtworks.xstream.XStream.<init>(XStream.java:445)
>    at com.thoughtworks.xstream.XStream.<init>(XStream.java:385)
>    at com.thoughtworks.xstream.XStream.<init>(XStream.java:323)
>    at 
> org.apache.maven.plugin.war.util.WebappStructureSerializer.<init>(WebappStructureSerializer.java:49)
>    at 
> org.apache.maven.plugin.war.AbstractWarMojo.<init>(AbstractWarMojo.java:314)
>    at org.apache.maven.plugin.war.WarMojo.<init>(WarMojo.java:47)
>    at java.lang.Class.newInstance(libgcj.so.11)
>    at 
> org.codehaus.plexus.component.factory.java.JavaComponentFactory.newInstance(JavaComponentFactory.java:44)
>    at 
> org.codehaus.plexus.DefaultPlexusContainer.createComponentInstance(DefaultPlexusContainer.java:1464)
>    at 
> org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:93)
>    at 
> org.codehaus.plexus.component.manager.PerLookupComponentManager.getComponent(PerLookupComponentManager.java:48)
>    at 
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:331)
>    at 
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:440)
>    at 
> org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:652)
>    at 
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:468)
>    at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
>    at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
>    at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
>    at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
>    at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
>    at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
>    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
>    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
>    at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
>    at 
> org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
>    at java.lang.reflect.Method.invoke(libgcj.so.11)
>    at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>    at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>    at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>    at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: java.lang.reflect.InvocationTargetException
>    at java.lang.reflect.Constructor.newInstance(libgcj.so.11)
>    at 
> com.thoughtworks.xstream.XStream.dynamicallyRegisterConverter(XStream.java:725)
>    ...31 more
> Caused by: javax.xml.datatype.DatatypeConfigurationException: 
> java.lang.ClassNotFoundException: gnu.xml.datatype.JAXPDatatypeFactory
>    at javax.xml.datatype.DatatypeFactory.newInstance(libgcj.so.11)
>    at 
> com.thoughtworks.xstream.converters.extended.DurationConverter.<init>(DurationConverter.java:33)
>    at java.lang.reflect.Constructor.newInstance(libgcj.so.11)
>    ...32 more
> Caused by: java.lang.ClassNotFoundException: 
> gnu.xml.datatype.JAXPDatatypeFactory
>    at java.lang.Class.forName(libgcj.so.11)
>    at javax.xml.datatype.DatatypeFactory.newInstance(libgcj.so.11)
>    ...34 more
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 51 seconds
> [INFO] Finished at: Mon Aug 02 13:58:48 GMT-03:00 2010
> [INFO] Final Memory: 64M/99M
> [INFO] 
> ------------------------------------------------------------------------
>
> Someone could help ? Thanks !
>
>
> *Alex Maia Sanchez*
>
>
> *LINUX Registred User # 399667LIBERTE SUA MENTE ! Use LINUX !Celular (11) 
> 8034.6420*
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to