tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gilbertoca <gilbert...@gmail.com>
Subject Re: TomEE 7.0.2 and Shiro 1.4.0 - commons-beanutils error
Date Tue, 10 Oct 2017 20:02:45 GMT
The 7.0.4 release doesn't fix these issues (for the embedded engine through
the tomee-embedded-maven-plugin):
https://issues.apache.org/jira/browse/TOMEE-1969
https://issues.apache.org/jira/browse/TOMEE-2061



and the exception:



The tomee-maven-plugin has no problem.

Regards,

Gilberto


gilbertoca wrote
> Thanks folks
> 
> For those of you that is in same boat - using tomee-embedded for
> developing:

> 
> There is now only one jar for the BeanUtils library. 
>  
> Romain Manni-Bucau wrote
>> sure: https://issues.apache.org/jira/browse/TOMEE-2061
>> 
>> Romain Manni-Bucau
>> @rmannibucau &lt;https://twitter.com/rmannibucau&gt; |  Blog
>> &lt;https://blog-rmannibucau.rhcloud.com&gt; | Old Blog
>> &lt;http://rmannibucau.wordpress.com&gt; | Github
>> &lt;https://github.com/rmannibucau&gt; |
>> LinkedIn &lt;https://www.linkedin.com/in/rmannibucau&gt; | JavaEE Factory
>> &lt;https://javaeefactory-rmannibucau.rhcloud.com&gt;
>> 
>> 2017-06-12 20:18 GMT+02:00 Steve Goldsmith &lt;

>> sgjava@

>> &gt;:
>> 
>>> Why not exclude? Here's What I do for slf4j to use logback:
>>>
>>>         
>> <dependency>
>>>             
>> <groupId>
>> org.apache.tomee
>> </groupId>
>>>             
>> <artifactId>
>> tomee-embedded
>> </artifactId>
>>>             
>> <version>
>> ${tomee.version}
>> </version>
>>>             
>> <scope>
>> test
>> </scope>
>>>             
>> <exclusions>
>>>                 
>> <exclusion>
>>>                     
>> <groupId>
>> org.slf4j
>> </groupId>
>>>                     
>> <artifactId>
>> slf4j-jdk14
>> </artifactId>
>>>                 
>> </exclusion>
>>>             
>> </exclusions>
>>>         
>> </dependency>
>>>
>>> In the stand alone version just replace in the lib folder.
>>>
>>>
>>> On Mon, Jun 12, 2017 at 1:58 PM, gilbertoca &lt;

>> gilbertoca@

>> &gt; wrote:
>>>
>>> > Hello everyone. I hope you're having a good day.
>>> >
>>> > Recently we tried to update Apache Shiro to 1.4.0 (we are in 1.4.0-RC2
>>> and
>>> > TomEE 7.0.2)
>>> > The official release of Shiro has changed some internal about
>>> BeanUtilsBean
>>> > class[1] and thus breaking this "love":
>>> >
>>> >
>>> > Is it possible, to TomEE team, to update the commons-beanutils?
>>> >
>>> > Regards,
>>> >
>>> > Gilberto
>>> >
>>> > [1]
>>> > http://shiro-user.582556.n2.nabble.com/From-1-4-0-RC2-to-
>>> 1-4-0-java-lang-
>>> > NoClassDefFoundError-org-apache-commons-beanutils-BeanIntrospector-
>>> > tp7581637p7581647.html
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > --
>>> > View this message in context: http://tomee-openejb.979440.
>>> > n4.nabble.com/TomEE-7-0-2-and-Shiro-1-4-0-commons-beanutils-
>>> > error-tp4681858.html
>>> > Sent from the TomEE Users mailing list archive at Nabble.com.
>>> >
>>>
>>>
>>>
>>> --
>>> Steven P. Goldsmith
>>>


gilbertoca wrote
> Thanks folks
> 
> For those of you that is in same boat - using tomee-embedded for
> developing:

> 
> There is now only one jar for the BeanUtils library. 
>  
> Romain Manni-Bucau wrote
>> sure: https://issues.apache.org/jira/browse/TOMEE-2061
>> 
>> Romain Manni-Bucau
>> @rmannibucau &lt;https://twitter.com/rmannibucau&gt; |  Blog
>> &lt;https://blog-rmannibucau.rhcloud.com&gt; | Old Blog
>> &lt;http://rmannibucau.wordpress.com&gt; | Github
>> &lt;https://github.com/rmannibucau&gt; |
>> LinkedIn &lt;https://www.linkedin.com/in/rmannibucau&gt; | JavaEE Factory
>> &lt;https://javaeefactory-rmannibucau.rhcloud.com&gt;
>> 
>> 2017-06-12 20:18 GMT+02:00 Steve Goldsmith &lt;

>> sgjava@

>> &gt;:
>> 
>>> Why not exclude? Here's What I do for slf4j to use logback:
>>>
>>>         
>> <dependency>
>>>             
>> <groupId>
>> org.apache.tomee
>> </groupId>
>>>             
>> <artifactId>
>> tomee-embedded
>> </artifactId>
>>>             
>> <version>
>> ${tomee.version}
>> </version>
>>>             
>> <scope>
>> test
>> </scope>
>>>             
>> <exclusions>
>>>                 
>> <exclusion>
>>>                     
>> <groupId>
>> org.slf4j
>> </groupId>
>>>                     
>> <artifactId>
>> slf4j-jdk14
>> </artifactId>
>>>                 
>> </exclusion>
>>>             
>> </exclusions>
>>>         
>> </dependency>
>>>
>>> In the stand alone version just replace in the lib folder.
>>>
>>>
>>> On Mon, Jun 12, 2017 at 1:58 PM, gilbertoca &lt;

>> gilbertoca@

>> &gt; wrote:
>>>
>>> > Hello everyone. I hope you're having a good day.
>>> >
>>> > Recently we tried to update Apache Shiro to 1.4.0 (we are in 1.4.0-RC2
>>> and
>>> > TomEE 7.0.2)
>>> > The official release of Shiro has changed some internal about
>>> BeanUtilsBean
>>> > class[1] and thus breaking this "love":
>>> >
>>> >
>>> > Is it possible, to TomEE team, to update the commons-beanutils?
>>> >
>>> > Regards,
>>> >
>>> > Gilberto
>>> >
>>> > [1]
>>> > http://shiro-user.582556.n2.nabble.com/From-1-4-0-RC2-to-
>>> 1-4-0-java-lang-
>>> > NoClassDefFoundError-org-apache-commons-beanutils-BeanIntrospector-
>>> > tp7581637p7581647.html
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > --
>>> > View this message in context: http://tomee-openejb.979440.
>>> > n4.nabble.com/TomEE-7-0-2-and-Shiro-1-4-0-commons-beanutils-
>>> > error-tp4681858.html
>>> > Sent from the TomEE Users mailing list archive at Nabble.com.
>>> >
>>>
>>>
>>>
>>> --
>>> Steven P. Goldsmith
>>>





--
Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f979441.html

Mime
View raw message