简体   繁体   English

我如何一起使用泽西岛和Amazon AWS(弹性beantalk)

[英]How can i use jersey and Amazon AWS (elastic beanstalk) together

I'm trying to debug a rest/json service that i build using Jersey and Amazon AWS. 我正在尝试调试使用Jersey和Amazon AWS构建的rest / json服务。 I intend to run it on ElasticBeanstalk. 我打算在ElasticBeanstalk上运行它。

The project is created using the AWS plugin for eclipse as a new Aws Java Web project. 该项目是使用AWS eclipse插件作为新的Aws Java Web项目创建的。 I then downloaded jersey and dumped the jars in WEB-INF/lib. 然后,我下载了jersey,并将罐子倒入WEB-INF / lib中。

The runtime error i get is 我得到的运行时错误是

class "org.codehaus.jackson.JsonProcessingException"'s signer information does not match >signer information of other classes in the same package 类“ org.codehaus.jackson.JsonProcessingException”的签名者信息与同一包中其他类的签名者信息不匹配

I suspect some sort of clash with aws. 我怀疑与aws有某种冲突。 If i change the build path order (moving things up and down the list in eclipse->build path->order and export tab) i get other errors. 如果我更改构建路径顺序(在eclipse-> build path-> order and export选项卡中的列表中上下移动),则会遇到其他错误。 (specifically i can get the jersey to work by moving it up the list but then aws breaks) (具体来说,我可以通过将其移至列表上来使球衣工作,但aws会中断)

I hope someone has done something similar and is able to help :) 我希望有人做了类似的事情并且能够提供帮助:)

只需从您的类路径中删除jackson-core-asl-*。jar,它已经是AWS开发工具包的一部分。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在 AWS Elastic Beanstalk 中使用 select 特定平台? - How I can select specific platform in AWS Elastic Beanstalk? 如何在 AWS Elastic Beanstalk 上设置编码? - How can I set encoding on AWS Elastic Beanstalk? 如何在Elastic Beanstalk上为Amazon SES传递AWS_ACCESS_KEY_ID? - How do I pass AWS_ACCESS_KEY_ID for Amazon SES on Elastic Beanstalk? 我们可以将谷歌云 SQL 与 Amazon Elastic Beanstalk 一起使用吗 - Can we use google cloud SQL with Amazon Elastic Beanstalk 如何从适用于Java的AWS开发工具包克隆Elastic Beanstalk环境? - How can I clone an Elastic Beanstalk environment from the AWS SDK for Java? 部署到AWS Elastic Beanstalk后如何访问servlet? - How do I access servlets after deploying to AWS Elastic Beanstalk? 如何在AWS Elastic Beanstalk环境中配置负载均衡器? - How do I configure a load balancer in an AWS Elastic Beanstalk environment? Amazon Elastic Beanstalk广播 - Amazon Elastic Beanstalk Broadcast 当我在 aws 弹性 beantalk 中部署 Spring Boot 项目时,如何压缩 Spring Boot 中的 MultipartFie[] 大小? - How can i compress the MultipartFie[] size in spring boot when i deploy the spring boot project in aws elastic beanstalk.? AWS Elastic Beanstalk缓存? - AWS Elastic Beanstalk caching?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM