You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Christian Amend (JIRA)" <ji...@apache.org> on 2015/08/14 16:12:45 UTC
[jira] [Commented] (OLINGO-761) ODataApplication$MyProvider is not
proxyable
[ https://issues.apache.org/jira/browse/OLINGO-761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14697076#comment-14697076 ]
Christian Amend commented on OLINGO-761:
----------------------------------------
Hi Eugenio,
no I havent seen this issue before. But it is true that we have a static class in our ODataApplication called MyProvider.
Best Regards,
Christian
> ODataApplication$MyProvider is not proxyable
> --------------------------------------------
>
> Key: OLINGO-761
> URL: https://issues.apache.org/jira/browse/OLINGO-761
> Project: Olingo
> Issue Type: Bug
> Components: odata2-core
> Affects Versions: V2 2.0.2, V2 2.0.4
> Reporter: Eugenio Lentini
>
> I am trying to deploy a web application into WildFly 8.2.0 along with a service REST written with JAX-RS,there are just a couple of resources and a class extending Application annotated with @ApplicationScoped.
> The application has even a module OData based on Olingo OData 2, version 2.0.2.
> During the deployment I get this exception
> {code:borderStyle=solid}
> Caused by: org.jboss.weld.exceptions.UnproxyableResolutionException: WELD-001437: Normal scoped bean class org.apache.olingo.odata2.core.rest.app.ODataApplication$MyProvider is not proxyable because the type is final or it contains a final method class org.apache.olingo.odata2.core.rest.app.ODataApplication$MyProvider - <unknown javax.enterprise.inject.spi.Bean instance>.
> at org.jboss.weld.util.Proxies.getUnproxyableClassException(Proxies.java:229)
> at org.jboss.weld.util.Proxies.getUnproxyableTypeException(Proxies.java:178)
> {code}
> According to the documentation more or less all the injected beans are proxies, the final modifier prevent the subclass to be created.
> Have you already got experience like that?
> Thanks for the attention.
> Eugenio
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)