You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Han Lee (JIRA)" <ji...@apache.org> on 2008/04/30 20:18:55 UTC
[jira] Created: (CXF-1561) pom.xml is missing a dependency when CXF
is configured to handle JSON/REST messages
pom.xml is missing a dependency when CXF is configured to handle JSON/REST messages
-----------------------------------------------------------------------------------
Key: CXF-1561
URL: https://issues.apache.org/jira/browse/CXF-1561
Project: CXF
Issue Type: Bug
Components: Build system
Reporter: Han Lee
In the current snapshot build, I received runtime errors about missing abdera classes when I set CXF up to handle JSON/REST messages.
I fixed the problem by adding the following to my project's pom.xml:
<dependency>
<!-- needed bacause the cxf folks messed up and forgot a dependency -->
<groupId>org.apache.abdera</groupId>
<artifactId>abdera-i18n</artifactId>
<version>0.4.0-incubating</version>
</dependency>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CXF-1561) pom.xml is missing a dependency when
CXF is configured to handle JSON/REST messages
Posted by "Sergey Beryozkin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12593424#action_12593424 ]
Sergey Beryozkin commented on CXF-1561:
---------------------------------------
> Q for Sergey: any reason why this is required for him? Our system test that use abdera seem to pass fine without it.
I actually think that abdera-i18n is pulled in during the build time recursively, as a dependency of abdera-core, not sure need to verify. If so then is it likely that such a dependency is 'missed' by our distribution build ?
Han, are you actually relying on I18n in your messages ? Another possibility is that our tests simply work due to no I18n being exercised
> pom.xml is missing a dependency when CXF is configured to handle JSON/REST messages
> -----------------------------------------------------------------------------------
>
> Key: CXF-1561
> URL: https://issues.apache.org/jira/browse/CXF-1561
> Project: CXF
> Issue Type: Bug
> Components: Build system
> Reporter: Han Lee
>
> In the current snapshot build, I received runtime errors about missing abdera classes when I set CXF up to handle JSON/REST messages.
> I fixed the problem by adding the following to my project's pom.xml:
> <dependency>
> <!-- needed bacause the cxf folks messed up and forgot a dependency -->
> <groupId>org.apache.abdera</groupId>
> <artifactId>abdera-i18n</artifactId>
> <version>0.4.0-incubating</version>
> </dependency>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CXF-1561) pom.xml is missing a dependency when
CXF is configured to handle JSON/REST messages
Posted by "Benson Margulies (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benson Margulies resolved CXF-1561.
-----------------------------------
Resolution: Cannot Reproduce
No word in a year.
> pom.xml is missing a dependency when CXF is configured to handle JSON/REST messages
> -----------------------------------------------------------------------------------
>
> Key: CXF-1561
> URL: https://issues.apache.org/jira/browse/CXF-1561
> Project: CXF
> Issue Type: Bug
> Components: Build system
> Reporter: Han Lee
>
> In the current snapshot build, I received runtime errors about missing abdera classes when I set CXF up to handle JSON/REST messages.
> I fixed the problem by adding the following to my project's pom.xml:
> <dependency>
> <!-- needed bacause the cxf folks messed up and forgot a dependency -->
> <groupId>org.apache.abdera</groupId>
> <artifactId>abdera-i18n</artifactId>
> <version>0.4.0-incubating</version>
> </dependency>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CXF-1561) pom.xml is missing a dependency when
CXF is configured to handle JSON/REST messages
Posted by "Sergey Beryozkin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12593814#action_12593814 ]
Sergey Beryozkin commented on CXF-1561:
---------------------------------------
Han, any chance you can post a sample request/response which causes this issue ?
> pom.xml is missing a dependency when CXF is configured to handle JSON/REST messages
> -----------------------------------------------------------------------------------
>
> Key: CXF-1561
> URL: https://issues.apache.org/jira/browse/CXF-1561
> Project: CXF
> Issue Type: Bug
> Components: Build system
> Reporter: Han Lee
>
> In the current snapshot build, I received runtime errors about missing abdera classes when I set CXF up to handle JSON/REST messages.
> I fixed the problem by adding the following to my project's pom.xml:
> <dependency>
> <!-- needed bacause the cxf folks messed up and forgot a dependency -->
> <groupId>org.apache.abdera</groupId>
> <artifactId>abdera-i18n</artifactId>
> <version>0.4.0-incubating</version>
> </dependency>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CXF-1561) pom.xml is missing a dependency when
CXF is configured to handle JSON/REST messages
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12593399#action_12593399 ]
Daniel Kulp commented on CXF-1561:
----------------------------------
Q for Sergey: any reason why this is required for him? Our system test that use abdera seem to pass fine without it.
Actually, that brings up another question: can the jaxrs stuff detect if abdera is not there and not install the abdera stuff? Basically, make the abdera jars optional?
> pom.xml is missing a dependency when CXF is configured to handle JSON/REST messages
> -----------------------------------------------------------------------------------
>
> Key: CXF-1561
> URL: https://issues.apache.org/jira/browse/CXF-1561
> Project: CXF
> Issue Type: Bug
> Components: Build system
> Reporter: Han Lee
>
> In the current snapshot build, I received runtime errors about missing abdera classes when I set CXF up to handle JSON/REST messages.
> I fixed the problem by adding the following to my project's pom.xml:
> <dependency>
> <!-- needed bacause the cxf folks messed up and forgot a dependency -->
> <groupId>org.apache.abdera</groupId>
> <artifactId>abdera-i18n</artifactId>
> <version>0.4.0-incubating</version>
> </dependency>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CXF-1561) pom.xml is missing a dependency when
CXF is configured to handle JSON/REST messages
Posted by "Han Lee (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12594473#action_12594473 ]
Han Lee commented on CXF-1561:
------------------------------
Sorry for the delay. I tried to reproduce our stack trace by commenting out the abdera-i18n dependency that I put in our pom.xml. The abdeta-i18n library came back though; so someone must have linked to it using their pom.xml. My maven knowledge is not good enough to easily trace down who linked it in though.
We got an error back using any of our cxf calls. I.E. http://llocalhost:8080/json/api/getServerInfo
I'll try removing the library manually tomorrow to get a stack trace for you.
Han.
> pom.xml is missing a dependency when CXF is configured to handle JSON/REST messages
> -----------------------------------------------------------------------------------
>
> Key: CXF-1561
> URL: https://issues.apache.org/jira/browse/CXF-1561
> Project: CXF
> Issue Type: Bug
> Components: Build system
> Reporter: Han Lee
>
> In the current snapshot build, I received runtime errors about missing abdera classes when I set CXF up to handle JSON/REST messages.
> I fixed the problem by adding the following to my project's pom.xml:
> <dependency>
> <!-- needed bacause the cxf folks messed up and forgot a dependency -->
> <groupId>org.apache.abdera</groupId>
> <artifactId>abdera-i18n</artifactId>
> <version>0.4.0-incubating</version>
> </dependency>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.