03-28-2012 12:24 PM
BUILD FAILED
C:\Users\atef\Dropbox\MAMD & Atef\Alfresco\root\projects.xml:317: The following error occurred while executing this line:
C:\Users\atef\Dropbox\MAMD & Atef\Alfresco\root\macros.xml:68: The following error occurred while executing this line:
C:\Users\atef\Dropbox\MAMD & Atef\Alfresco\root\macros.xml:41: Compile failed; see the compiler error output for details.
03-29-2012 04:33 AM
04-02-2012 04:20 AM
04-02-2012 05:30 AM
Buildfile: C:\Users\atef\Alfresco\root\build.xml
init:
[echo] user.home = C:\Users\atef
[echo] version.number = 4.1.a
compile-core:
package-core:
[jar] Building jar: C:\Users\atef\Alfresco\root\projects\core\build\dist\alfresco-core-4.1.a.jar
incremental-core:
compile-datamodel-java:
compile-datamodel-jibx:
compile-datamodel:
package-datamodel:
[jar] Building jar: C:\Users\atef\Alfresco\root\projects\data-model\build\dist\alfresco-data-model-4.1.a.jar
incremental-datamodel:
compile-jlan:
[copy] Copied 5 empty directories to 5 empty directories under C:\Users\atef\Alfresco\root\projects\alfresco-jlan\build\classes
package-jlan:
[jar] Building jar: C:\Users\atef\Alfresco\root\projects\alfresco-jlan\build\dist\alfresco-jlan-embed-4.1.a.jar
incremental-jlan:
compile-mbeans:
package-mbeans:
[jar] Building jar: C:\Users\atef\Alfresco\root\projects\mbeans\build\dist\alfresco-mbeans-4.1.a.jar
incremental-mbeans:
compile-deployment:
package-deployment-jar:
[jar] Building jar: C:\Users\atef\Alfresco\root\projects\deployment\build\dist\alfresco-deployment-4.1.a.jar
compile-repository-java:
[javac] Compiling 1 source file to C:\Users\atef\Alfresco\root\projects\repository\build\classes
compile-repository-jibx:
compile-repository:
package-repository:
[mkdir] Created dir: C:\Users\atef\Alfresco\root\projects\repository\build\dist
[jar] Building jar: C:\Users\atef\Alfresco\root\projects\repository\build\dist\alfresco-repository-4.1.a.jar
assemble-deployment:
[mkdir] Created dir: C:\Users\atef\Alfresco\root\projects\deployment\build\assemble
[copy] Copying 35 files to C:\Users\atef\Alfresco\root\projects\deployment\build\assemble
package-deployment-zip:
[zip] Building zip: C:\Users\atef\Alfresco\root\projects\deployment\build\dist\alfresco-community-deployment-4.1.a.zip
package-deployment:
incremental-deployment:
incremental-repository:
compile-wdrdeployment:
package-wdrdeployment-jar:
[mkdir] Created dir: C:\Users\atef\Alfresco\root\projects\wdr-deployment\build\dist
[jar] Building jar: C:\Users\atef\Alfresco\root\projects\wdr-deployment\build\dist\alfresco-wdr-deployment.jar
package-wdrdeployment:
incremental-wdrdeployment:
compile-remoteapi:
package-remoteapi:
[mkdir] Created dir: C:\Users\atef\Alfresco\root\projects\remote-api\build\dist
[jar] Building jar: C:\Users\atef\Alfresco\root\projects\remote-api\build\dist\alfresco-remote-api-4.1.a.jar
incremental-remoteapi:
compile-webframeworkcommons:
package-webframeworkcommons-jar:
[mkdir] Created dir: C:\Users\atef\Alfresco\root\projects\web-framework-commons\build\dist
[jar] Building jar: C:\Users\atef\Alfresco\root\projects\web-framework-commons\build\dist\alfresco-web-framework-commons-4.1.a.jar
package-webframeworkcommons:
incremental-webframeworkcommons:
compile-jndi:
package-jndi:
[mkdir] Created dir: C:\Users\atef\Alfresco\root\projects\jndi-client\build\dist
[jar] Building jar: C:\Users\atef\Alfresco\root\projects\jndi-client\build\dist\alfresco-jndi-client-4.1.a.jar
incremental-jndi:
compile-catalinavirtual:
package-catalinavirtual:
[mkdir] Created dir: C:\Users\atef\Alfresco\root\projects\catalina-virtual\build\dist
[jar] Building jar: C:\Users\atef\Alfresco\root\projects\catalina-virtual\build\dist\alfresco-catalina-virtual.jar
incremental-catalinavirtual:
incremental-webclient-depends:
prepare-file-transfer-receiver:
[mkdir] Created dir: C:\Users\atef\Alfresco\root\projects\file-transfer-receiver\build\classes
[mkdir] Created dir: C:\Users\atef\Alfresco\root\projects\file-transfer-receiver\build\dist
[mkdir] Created dir: C:\Users\atef\Alfresco\root\projects\file-transfer-receiver\build\assemble
[mkdir] Created dir: C:\Users\atef\Alfresco\root\projects\file-transfer-receiver\build\assemble\webapps
[mkdir] Created dir: C:\Users\atef\Alfresco\root\projects\file-transfer-receiver\build\assemble\classes
compile-file-transfer-receiver:
[javac] Compiling 31 source files to C:\Users\atef\Alfresco\root\projects\file-transfer-receiver\build\classes
[javac] Note: C:\Users\atef\Alfresco\root\projects\file-transfer-receiver\source\java\org\alfresco\repo\transfer\fsr\testdb.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
version-file-transfer-receiver:
[copy] Copying 1 file to C:\Users\atef\Alfresco\root\projects\file-transfer-receiver\build\assemble
package-file-transfer-receiver:
[copy] Copying 16 files to C:\Users\atef\Alfresco\root\projects\file-transfer-receiver\build\assemble\lib
[copy] Copying 5 files to C:\Users\atef\Alfresco\root\projects\file-transfer-receiver\build\assemble\classes
[jar] Building jar: C:\Users\atef\Alfresco\root\projects\file-transfer-receiver\build\assemble\file-transfer-receiver.jar
[copy] Copying 43 files to C:\Users\atef\Alfresco\root\projects\file-transfer-receiver\build\lib
[war] Building war: C:\Users\atef\Alfresco\root\projects\file-transfer-receiver\build\assemble\webapps\file-transfer-receiver.war
[zip] Building zip: C:\Users\atef\Alfresco\root\projects\file-transfer-receiver\build\dist\file-transfer-receiver.zip
BUILD SUCCESSFUL
Total time: 3 minutes 26 seconds
04-02-2012 07:37 AM
04-02-2012 08:37 AM
04-02-2012 10:09 AM
ok
but when I start the application an error message appearsECHEC - L'application pour le chemin de contexte /file-transfer-receiver n'a pas pu être démarrée
I already installed jdk 7, tomcat 6 and mysql 5.504-03-2012 04:32 AM
17:07:03,030 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanInitializationException: Could not load properties; nested exception is java.io.FileNotFoundException: class path resource [ftr-custom.properties] cannot be opened because it does not exist
at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:78)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:663)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:638)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:407)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1276)
at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:625)
at org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:136)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.FileNotFoundException: class path resource [ftr-custom.properties] cannot be opened because it does not exist
at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:158)
at org.springframework.core.io.support.PropertiesLoaderSupport.loadProperties(PropertiesLoaderSupport.java:181)
at org.springframework.core.io.support.PropertiesLoaderSupport.mergeProperties(PropertiesLoaderSupport.java:161)
at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:69)
… 29 more
I do not know, but i must configure tomcat?
02-21-2013 01:01 PM
BUILD FAILED
D:\svn-repo\HEAD\root\projects.xml:317: The following error occurred while executing this line:
D:\svn-repo\HEAD\root\macros.xml:68: The following error occurred while executing this line:
D:\svn-repo\HEAD\root\macros.xml:41: Compile failed; see the compiler error output for details.
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:1150)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:912)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:809)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Total time: 3 minutes 34 seconds
02-26-2014 05:23 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.