You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@sling.apache.org by Ken Burcham Consulting <kb...@me.com> on 2009/10/29 01:01:39 UTC

problem building from svn: "cannot find symbol"

Hi!

I'm very excited about sling and jackrabbit.

I downloaded the current source revision (830791) and tried to compile  
it but I ran into a problem (below). Any ideas? Or what is a working  
revision?

thanks!

ken.

[INFO]  
------------------------------------------------------------------------
[INFO] Building Apache Sling Initial Content Loader
[INFO]    task-segment: [clean, install]
[INFO]  
------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting file set: /Users/ken/Desktop/KBC/research/sling/sling/ 
bundles/jcr/contentloader/target (included: [**], excluded: [])
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 3 resources
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
      [echo] ********************** WARNING (SLING-443)  
**********************************
      [echo] On most platforms, building Apache Sling currently  
requires setting
      [echo] MAVEN_OPTS="-Xmx256M", see https://issues.apache.org/jira/browse/SLING-443
      [echo] You might get a "java.lang.OutOfMemoryError: Java heap  
space" if that
      [echo] setting is not correct.
      [echo]  
*****************************************************************************
[INFO] Executed tasks
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 10 source files to /Users/ken/Desktop/KBC/research/ 
sling/sling/bundles/jcr/contentloader/target/classes
[INFO]  
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]  
------------------------------------------------------------------------
[INFO] Compilation failure
/Users/ken/Desktop/KBC/research/sling/sling/bundles/jcr/contentloader/ 
src/main/java/org/apache/sling/jcr/contentloader/internal/readers/ 
XmlReader.java:[236,30] cannot find symbol
symbol  : constructor  
IOException(java.lang.String,java.text.ParseException)
location: class java.io.IOException


Re: problem building from svn: "cannot find symbol"

Posted by Vidar Ramdal <vi...@idium.no>.
> On Thu, Oct 29, 2009 at 1:01 AM, Ken Burcham Consulting <kb...@me.com> wrote:
>> ...[INFO] Compilation failure
>> [...] org/apache/sling/jcr/contentloader/internal/readers/XmlReader.java:[236,30]
>> cannot find symbol
>> symbol  : constructor IOException(java.lang.String,java.text.ParseException)
>> location: class java.io.IOException

On Thu, Oct 29, 2009 at 9:44 AM, Bertrand Delacretaz
<bd...@apache.org> wrote:
> That code required JDK 1.6, just fixed it (revision 830860) to compile
> with 1.5 as well.

Oops, that was my fault, I guess. Thanks, Bertrand!

-- 
Vidar S. Ramdal <vi...@idium.no> - http://www.idium.no
Sommerrogata 13-15, N-0255 Oslo, Norway
+ 47 22 00 84 00 / +47 21 531941, ext 2070

Re: problem building from svn: "cannot find symbol"

Posted by Ken Burcham <kb...@me.com>.
Great, thanks!

On Oct 29, 2009, at 1:44 AM, Bertrand Delacretaz wrote:

> Hi Ken,
>
> On Thu, Oct 29, 2009 at 1:01 AM, Ken Burcham Consulting <kb...@me.com>  
> wrote:
>> I'm very excited about sling and jackrabbit.
>
> Cool ;-)
>
>> ...[INFO] Compilation failure
>> /Users/ken/Desktop/KBC/research/sling/sling/bundles/jcr/ 
>> contentloader/src/main/java/org/apache/sling/jcr/contentloader/ 
>> internal/readers/XmlReader.java:[236,30]
>> cannot find symbol
>> symbol  : constructor  
>> IOException(java.lang.String,java.text.ParseException)
>> location: class java.io.IOException
>>
>
> That code required JDK 1.6, just fixed it (revision 830860) to compile
> with 1.5 as well.
>
> -Bertrand


Re: problem building from svn: "cannot find symbol"

Posted by Bertrand Delacretaz <bd...@apache.org>.
Hi Ken,

On Thu, Oct 29, 2009 at 1:01 AM, Ken Burcham Consulting <kb...@me.com> wrote:
> I'm very excited about sling and jackrabbit.

Cool ;-)

> ...[INFO] Compilation failure
> /Users/ken/Desktop/KBC/research/sling/sling/bundles/jcr/contentloader/src/main/java/org/apache/sling/jcr/contentloader/internal/readers/XmlReader.java:[236,30]
> cannot find symbol
> symbol  : constructor IOException(java.lang.String,java.text.ParseException)
> location: class java.io.IOException
>

That code required JDK 1.6, just fixed it (revision 830860) to compile
with 1.5 as well.

-Bertrand