amazon-web-services - AWS SWF 流框架 - Eclipse AspectJ 加载时编织

标签 amazon-web-services amazon-swf

有没有人设法让 Simple Workflow 和 Flow Framework 的 AWS 开发工具包示例正常工作?我已经按照 Eclipse 设置说明 (http://docs.amazonwebservices.com/amazonswf/latest/awsflowguide/setup.html) 进行了操作,但没有生成任何类。结果,我的项目无法构建,因为到处都缺少 *Client 类。

我已经对 SDK 中的示例和第一次登录 SWF 管理控制台时提供的 ImageProcessing 示例进行了尝试。同事同样无法让它发挥作用。

最佳答案

在这种情况下,我遇到了两个(可能不相关的)问题:

1) 你可能仍然错过了一个重要的先决条件(很容易错过,我也做过;) - 见 Setting up the Development Environment :

If you are using the Eclipse development environment, [...] install the AWS Toolkit for Eclipse using the update site http://aws.amazon.com/eclipse/. Be sure to install the Amazon Simple Workflow Service (SWF) Tools. Among other things, this plug-in processes the annotations and generates the client classes. [emphasis mine]

一旦我修复了我的这个疏忽,编译时编织就开始按预期在构建时生成类。

2) 我的 initial answer解决了由于 SpringSource Tool Suite (STS) 提供的 AspectJ 之间的明显冲突而导致 AspectJ 运行时丢失的后续问题。和 AspectJ developer tools for Eclipse .我还没有弄清楚这是否只是我的 STS 安装的本地问题 - 请参阅我的答案以了解详细信息,以防这种冲突也适用于您。

关于amazon-web-services - AWS SWF 流框架 - Eclipse AspectJ 加载时编织,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9412200/

相关文章:

amazon-web-services - 什么是 Cloudfront 最小 TTL?

node.js - 为什么我的 Lambda 函数会超时,即使 API 网关回调已被调用?

amazon-web-services - 以编程方式取消对 aws s3 中文件的加密

amazon-swf - 亚马逊 SWF 查询

java - AWS - Lambda Scheduler 调用多个 lambda 实例

java - Amazon Simple Workflow 和子工作流程

python - 您可以在Lambda Python 3.6中使用异步处理程序吗?

grails - Grails应用程序无法在Amazon EC2中运行,但可以在Windows中正常运行

java - SWF : Get the result of all the activities in workflow starter program

amazon-web-services - 将某些工作流执行优先于其他工作流执行