You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Marc Ende <ml...@e-beyond.de> on 2008/10/01 12:00:44 UTC

wicket 1.3.4/wicket-contrib-javaee compilation error

Hi,

I wanted to use the wicket-contrib-javaee extension to use annotations 
for my beans.
Following the steps in the doc I have added
    addComponentInstantiationListener(new JavaEEComponentInjector(this));
to my applications init() method.

The application-class is an extended AuthenticatedWebApplication because 
I need
jaas authentication in the application.

When I tried to compile the application I received the following error:

[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] Compilation failure
D:\java\workspace\itf.as\itf.web\src\main\java\itf\web\ItfWebApplication.java:[36,36] 
cannot access org.apache.wicket.injection.ComponentInjector
class file for org.apache.wicket.injection.ComponentInjector not found
                addComponentInstantiationListener(new 
JavaEEComponentInjector(this));



D:\java\workspace\itf.as\itf.web\src\main\java\itf\web\ItfWebApplication.java:[36,36] 
cannot access org.apache.wicket.injection.ComponentInjector
class file for org.apache.wicket.injection.ComponentInjector not found
                addComponentInstantiationListener(new 
JavaEEComponentInjector(this));

Does anybody have an Idea? I'm using Wicket 1.3.4, Wicket-Auth-Roles 
1.3.4 and Wicket-contrib-javaee 1.1 (latest downloadable)

Yours

Marc

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: wicket 1.3.4/wicket-contrib-javaee compilation error

Posted by Marc Ende <ml...@e-beyond.de>.
Yes of course I tried to download the sources from repository. But the
connection (to the svn-repo) was so slow that my client timed out.
So no way to get it...

Anyway, It's good to know that's only a dependency missing.

By the way: I think that it would be a good idea to give a hint
regarding this dependency on the website when offering a jar-download.

m.



Igor Vaynberg schrieb:
> whether or not there is a repository has nothing to do with it
> 
> after you download and mvn install the project it will be in your local repo
> when you add it as a dependency to your project wicket-ioc will be
> brought in via transitive dependency because it is declared in
> javaee's pom.
> 
> -igor
> 
> On Wed, Oct 1, 2008 at 9:02 AM, Marc Ende <ml...@e-beyond.de> wrote:
>> a) Thanks for the help, I'll try that tomorrow.
>> b) I _have_ used maven but there is NO repository
>> which contains this wicket-contrib-javaee lib.
>> Can you point me to a repository containing this project?
>>
>> m.
>>
>> Igor Vaynberg schrieb:
>>> you are missing wicket-ioc jar, you should really use maven to manage
>>> your dependencies if you dont know how to do that yourself.
>>>
>>> -igor
>>>
>>> On Wed, Oct 1, 2008 at 3:00 AM, Marc Ende <ml...@e-beyond.de> wrote:
>>>> Hi,
>>>>
>>>> I wanted to use the wicket-contrib-javaee extension to use annotations for
>>>> my beans.
>>>> Following the steps in the doc I have added
>>>>   addComponentInstantiationListener(new JavaEEComponentInjector(this));
>>>> to my applications init() method.
>>>>
>>>> The application-class is an extended AuthenticatedWebApplication because I
>>>> need
>>>> jaas authentication in the application.
>>>>
>>>> When I tried to compile the application I received the following error:
>>>>
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [ERROR] BUILD FAILURE
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Compilation failure
>>>> D:\java\workspace\itf.as\itf.web\src\main\java\itf\web\ItfWebApplication.java:[36,36]
>>>> cannot access org.apache.wicket.injection.ComponentInjector
>>>> class file for org.apache.wicket.injection.ComponentInjector not found
>>>>               addComponentInstantiationListener(new
>>>> JavaEEComponentInjector(this));
>>>>
>>>>
>>>>
>>>> D:\java\workspace\itf.as\itf.web\src\main\java\itf\web\ItfWebApplication.java:[36,36]
>>>> cannot access org.apache.wicket.injection.ComponentInjector
>>>> class file for org.apache.wicket.injection.ComponentInjector not found
>>>>               addComponentInstantiationListener(new
>>>> JavaEEComponentInjector(this));
>>>>
>>>> Does anybody have an Idea? I'm using Wicket 1.3.4, Wicket-Auth-Roles 1.3.4
>>>> and Wicket-contrib-javaee 1.1 (latest downloadable)
>>>>
>>>> Yours
>>>>
>>>> Marc
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>
>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 



Re: wicket 1.3.4/wicket-contrib-javaee compilation error

Posted by Igor Vaynberg <ig...@gmail.com>.
whether or not there is a repository has nothing to do with it

after you download and mvn install the project it will be in your local repo
when you add it as a dependency to your project wicket-ioc will be
brought in via transitive dependency because it is declared in
javaee's pom.

-igor

On Wed, Oct 1, 2008 at 9:02 AM, Marc Ende <ml...@e-beyond.de> wrote:
> a) Thanks for the help, I'll try that tomorrow.
> b) I _have_ used maven but there is NO repository
> which contains this wicket-contrib-javaee lib.
> Can you point me to a repository containing this project?
>
> m.
>
> Igor Vaynberg schrieb:
>> you are missing wicket-ioc jar, you should really use maven to manage
>> your dependencies if you dont know how to do that yourself.
>>
>> -igor
>>
>> On Wed, Oct 1, 2008 at 3:00 AM, Marc Ende <ml...@e-beyond.de> wrote:
>>> Hi,
>>>
>>> I wanted to use the wicket-contrib-javaee extension to use annotations for
>>> my beans.
>>> Following the steps in the doc I have added
>>>   addComponentInstantiationListener(new JavaEEComponentInjector(this));
>>> to my applications init() method.
>>>
>>> The application-class is an extended AuthenticatedWebApplication because I
>>> need
>>> jaas authentication in the application.
>>>
>>> When I tried to compile the application I received the following error:
>>>
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Compilation failure
>>> D:\java\workspace\itf.as\itf.web\src\main\java\itf\web\ItfWebApplication.java:[36,36]
>>> cannot access org.apache.wicket.injection.ComponentInjector
>>> class file for org.apache.wicket.injection.ComponentInjector not found
>>>               addComponentInstantiationListener(new
>>> JavaEEComponentInjector(this));
>>>
>>>
>>>
>>> D:\java\workspace\itf.as\itf.web\src\main\java\itf\web\ItfWebApplication.java:[36,36]
>>> cannot access org.apache.wicket.injection.ComponentInjector
>>> class file for org.apache.wicket.injection.ComponentInjector not found
>>>               addComponentInstantiationListener(new
>>> JavaEEComponentInjector(this));
>>>
>>> Does anybody have an Idea? I'm using Wicket 1.3.4, Wicket-Auth-Roles 1.3.4
>>> and Wicket-contrib-javaee 1.1 (latest downloadable)
>>>
>>> Yours
>>>
>>> Marc
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: wicket 1.3.4/wicket-contrib-javaee compilation error

Posted by Marc Ende <ml...@e-beyond.de>.
a) Thanks for the help, I'll try that tomorrow.
b) I _have_ used maven but there is NO repository
which contains this wicket-contrib-javaee lib.
Can you point me to a repository containing this project?

m.

Igor Vaynberg schrieb:
> you are missing wicket-ioc jar, you should really use maven to manage
> your dependencies if you dont know how to do that yourself.
> 
> -igor
> 
> On Wed, Oct 1, 2008 at 3:00 AM, Marc Ende <ml...@e-beyond.de> wrote:
>> Hi,
>>
>> I wanted to use the wicket-contrib-javaee extension to use annotations for
>> my beans.
>> Following the steps in the doc I have added
>>   addComponentInstantiationListener(new JavaEEComponentInjector(this));
>> to my applications init() method.
>>
>> The application-class is an extended AuthenticatedWebApplication because I
>> need
>> jaas authentication in the application.
>>
>> When I tried to compile the application I received the following error:
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Compilation failure
>> D:\java\workspace\itf.as\itf.web\src\main\java\itf\web\ItfWebApplication.java:[36,36]
>> cannot access org.apache.wicket.injection.ComponentInjector
>> class file for org.apache.wicket.injection.ComponentInjector not found
>>               addComponentInstantiationListener(new
>> JavaEEComponentInjector(this));
>>
>>
>>
>> D:\java\workspace\itf.as\itf.web\src\main\java\itf\web\ItfWebApplication.java:[36,36]
>> cannot access org.apache.wicket.injection.ComponentInjector
>> class file for org.apache.wicket.injection.ComponentInjector not found
>>               addComponentInstantiationListener(new
>> JavaEEComponentInjector(this));
>>
>> Does anybody have an Idea? I'm using Wicket 1.3.4, Wicket-Auth-Roles 1.3.4
>> and Wicket-contrib-javaee 1.1 (latest downloadable)
>>
>> Yours
>>
>> Marc
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 



Re: wicket 1.3.4/wicket-contrib-javaee compilation error

Posted by Igor Vaynberg <ig...@gmail.com>.
you are missing wicket-ioc jar, you should really use maven to manage
your dependencies if you dont know how to do that yourself.

-igor

On Wed, Oct 1, 2008 at 3:00 AM, Marc Ende <ml...@e-beyond.de> wrote:
> Hi,
>
> I wanted to use the wicket-contrib-javaee extension to use annotations for
> my beans.
> Following the steps in the doc I have added
>   addComponentInstantiationListener(new JavaEEComponentInjector(this));
> to my applications init() method.
>
> The application-class is an extended AuthenticatedWebApplication because I
> need
> jaas authentication in the application.
>
> When I tried to compile the application I received the following error:
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
> D:\java\workspace\itf.as\itf.web\src\main\java\itf\web\ItfWebApplication.java:[36,36]
> cannot access org.apache.wicket.injection.ComponentInjector
> class file for org.apache.wicket.injection.ComponentInjector not found
>               addComponentInstantiationListener(new
> JavaEEComponentInjector(this));
>
>
>
> D:\java\workspace\itf.as\itf.web\src\main\java\itf\web\ItfWebApplication.java:[36,36]
> cannot access org.apache.wicket.injection.ComponentInjector
> class file for org.apache.wicket.injection.ComponentInjector not found
>               addComponentInstantiationListener(new
> JavaEEComponentInjector(this));
>
> Does anybody have an Idea? I'm using Wicket 1.3.4, Wicket-Auth-Roles 1.3.4
> and Wicket-contrib-javaee 1.1 (latest downloadable)
>
> Yours
>
> Marc
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org