Solved !!!!
Gustav <[email protected]> Thu, 7 Dec 2006 07:37:18 -0800 (PST)
| Newsgroups | gmane.comp.cms.jahia.install |
|---|---|
| Message-ID | <[email protected]> |
I solved the problem ... Here is the solution
in class org.jahia.data.containers.ContainerFilterBean
First:
method getFieldValuesBySite(int, String, String) ==> change the return type
to Hashtable
and ...
inside this method there is a variable declaration:
Map datas = new Hashtable();
change to
Hashtable datas = new Hashtable();
regards
Gustav wrote:
>
> Hi ... I downloaded the sources from three svn tags ...
>
> http://svn.jahia.org/svn/jahia/tags/JAHIA_5_0_0/
> http://svn.jahia.org/svn/jahia/trunk/
> http://svn.jahia.org/svn/jahia/branches/JAHIA-5-0-SP-BRANCH/
>
> I also downloaded the tags
> common-jahiaprojects
> common-packagedwebapps
> maven-jahiawarplugin
>
> The question is:
> I run maven in http://svn.jahia.org/svn/jahia/tags/JAHIA_5_0_0/ and works
> fine
> But in the other two tags I get the following error:
>
> ContainerMetadataFilterBean.java:610:
> getFieldValuesBySite(int,java.lang.String,java.lang.String) in
> org.jahia.data.containers.ContainerMetadataFilterBean cannot override
> getFieldValuesBySite(int,java.lang.String,java.lang.String) in
> org.jahia.data.containers.ContainerFilterBean; attempting to use
> incompatible return type
> found : java.util.Hashtable
> required: java.util.Map
> protected Hashtable getFieldValuesBySite(int siteId,
> ^
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> 1 error
>
> and ...
>
> BUILD FAILED
> File...... /home/gustavo/proyectos/eclipsews-jahia/jahia-fix/maven.xml
> Element... maven:reactor
> Line...... 23
> Column.... 40
> Unable to obtain goal [jahia:war] --
> /home/gustavo/.maven/cache/maven-java-plugin-1.5/plugin.jelly:63:48:
> <ant:javac> Compile failed; see the compiler error output for details.
> Total time: 50 seconds
> Finished at: Wed Dec 06 20:10:38 ART 2006
>
>
> I downloaded the source from the last two tags to see if autoexport errors
> were solved ...,
>
> Can you help me ??
>
> Thanks in advance
> Regards
>
--
View this message in context: http://www.nabble.com/compilation-problem-tf2771422.html#a7741367
Sent from the Jahia - Install mailing list archive at Nabble.com.