Cannot find symbol while building Alfresco
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2010 08:07 AM
Hi guys, I'm Roberto from Italy.
I got a little problem while building Alfresco with Ant and "build tomcat" target from inside the IDE MyEclipse.
The errors I get are the following:
It seems that Ant can't find the DeleteContentStreamResponse class, contained by the project cmis-tck-ws, while compiling the Remote API project.
Is it caused by a missing dependency into the build.xml? Any suggestion?
Thank you
Roberto
I got a little problem while building Alfresco with Ant and "build tomcat" target from inside the IDE MyEclipse.
The errors I get are the following:
BUILD FAILED/Users/soulpower/Workspaces/MyEclipse 8.5/Alfresco/HEAD/root/projects.xml:566: The following error occurred while executing this line:/Users/soulpower/Workspaces/MyEclipse 8.5/Alfresco/HEAD/root/macros.xml:59: Compile failed; see the compiler error output for details.
[javac] /Users/soulpower/Workspaces/MyEclipse 8.5/Alfresco/HEAD/root/projects/remote-api/source/generated/org/alfresco/repo/cmis/ws/ObjectFactory.java:2199: cannot find symbol [javac] symbol : class DeleteContentStreamResponse [javac] location: class org.alfresco.repo.cmis.ws.ObjectFactory [javac] @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = DeleteContentStreamResponse.class) [javac] ^ [javac] /Users/soulpower/Workspaces/MyEclipse 8.5/Alfresco/HEAD/root/projects/remote-api/source/generated/org/alfresco/repo/cmis/ws/ObjectFactory.java:1081: cannot find symbol [javac] symbol : class DeleteContentStreamResponse [javac] location: class org.alfresco.repo.cmis.ws.ObjectFactory [javac] public DeleteContentStreamResponse createDeleteContentStreamResponse() { [javac] ^ [javac] /Users/soulpower/Workspaces/MyEclipse 8.5/Alfresco/HEAD/root/projects/remote-api/source/java/org/alfresco/repo/web/scripts/content/StreamContent.java:56: warning: [deprecation] org.springframework.extensions.webscripts.WebScriptStatus in org.springframework.extensions.webscripts has been deprecated [javac] import org.springframework.extensions.webscripts.WebScriptStatus; [javac] ^ [javac] /Users/soulpower/Workspaces/MyEclipse 8.5/Alfresco/HEAD/root/projects/remote-api/source/generated/org/alfresco/repo/cmis/ws/ObjectFactory.java:2199: cannot find symbol [javac] symbol : class DeleteContentStreamResponse [javac] location: class org.alfresco.repo.cmis.ws.ObjectFactory [javac] @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = DeleteContentStreamResponse.class) [javac] ^ [javac] /Users/soulpower/Workspaces/MyEclipse 8.5/Alfresco/HEAD/root/projects/remote-api/source/generated/org/alfresco/repo/cmis/ws/ObjectFactory.java:1082: cannot find symbol [javac] symbol : class DeleteContentStreamResponse [javac] location: class org.alfresco.repo.cmis.ws.ObjectFactory [javac] return new DeleteContentStreamResponse(); [javac] ^ [javac] /Users/soulpower/Workspaces/MyEclipse 8.5/Alfresco/HEAD/root/projects/remote-api/source/generated/org/alfresco/repo/cmis/ws/ObjectFactory.java:2201: cannot find symbol [javac] symbol : class DeleteContentStreamResponse [javac] location: class org.alfresco.repo.cmis.ws.ObjectFactory [javac] return new JAXBElement<CmisExtensionType>(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.class, DeleteContentStreamResponse.class, value); [javac] ^
It seems that Ant can't find the DeleteContentStreamResponse class, contained by the project cmis-tck-ws, while compiling the Remote API project.
Is it caused by a missing dependency into the build.xml? Any suggestion?
Thank you
Roberto
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2010 10:51 AM
Solved with a different importing procedure.
I downloaded Alfresco with svn via terminal, and then imported all the projects from within myeclipse with “Copy projects into workspace” unchecked. This procedure caused the error for me.
Now in Eclipse I've installed Subclipse and downloaded the content of the svn repository directly from the IDE (no terminal). Building Alfresco now works.
Thank you
Roberto
I downloaded Alfresco with svn via terminal, and then imported all the projects from within myeclipse with “Copy projects into workspace” unchecked. This procedure caused the error for me.
Now in Eclipse I've installed Subclipse and downloaded the content of the svn repository directly from the IDE (no terminal). Building Alfresco now works.
Thank you
Roberto
