You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Alexander Klimetschek <ak...@day.com> on 2008/01/08 17:57:07 UTC

sling-webapp errors in eclipse

Hi,

I get errors for not finding org.apache.felix.framework.Logger class  
in the sling-webapp project when loaded inside Eclipse and could fix  
that by adding the dependency org.apache.felix.framework to the sling- 
webapp pom (no JIRA issue as it seems too simple ;-):

Index: pom.xml
===================================================================
--- pom.xml	(revision 609963)
+++ pom.xml	(working copy)
@@ -187,6 +187,12 @@

      <dependencies>
          <dependency>
+            <groupId>org.apache.felix</groupId>
+            <artifactId>org.apache.felix.framework</artifactId>
+            <version>1.1.0-SNAPSHOT</version>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
              <groupId>org.apache.sling</groupId>
              <artifactId>org.apache.sling.launcher.app</artifactId>
              <version>2.0.0-incubator-SNAPSHOT</version>


Alex

--
Alexander Klimetschek
alexander.klimetschek@day.com





Re: sling-webapp errors in eclipse

Posted by Felix Meschberger <fm...@gmail.com>.
Hi Alexander,

Done. Thanks for reporting. 

Regards
Felix


Am Dienstag, den 08.01.2008, 17:57 +0100 schrieb Alexander Klimetschek:
> Hi,
> 
> I get errors for not finding org.apache.felix.framework.Logger class  
> in the sling-webapp project when loaded inside Eclipse and could fix  
> that by adding the dependency org.apache.felix.framework to the sling- 
> webapp pom (no JIRA issue as it seems too simple ;-):
> 
> Index: pom.xml
> ===================================================================
> --- pom.xml	(revision 609963)
> +++ pom.xml	(working copy)
> @@ -187,6 +187,12 @@
> 
>       <dependencies>
>           <dependency>
> +            <groupId>org.apache.felix</groupId>
> +            <artifactId>org.apache.felix.framework</artifactId>
> +            <version>1.1.0-SNAPSHOT</version>
> +            <scope>provided</scope>
> +        </dependency>
> +        <dependency>
>               <groupId>org.apache.sling</groupId>
>               <artifactId>org.apache.sling.launcher.app</artifactId>
>               <version>2.0.0-incubator-SNAPSHOT</version>
> 
> 
> Alex
> 
> --
> Alexander Klimetschek
> alexander.klimetschek@day.com
> 
> 
> 
>