在netbeans的import语句中没有要解决的问题 [英] nothing to fix in import statement in netbeans
本文介绍了在netbeans的import语句中没有要解决的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在我的Java Web服务中,当我编写此代码时,我尝试访问twitter并获得我的朋友状态和名称;
in my java web services, I try to access twitter and get my frinds status and names, when I write this code;
Statuses response = client.getFriendsTimeline(Statuses.class, null, null, null, "10");
response.getStatus().size();
String text = "";
for (StatusType st : response.getStatus()) {
text += st.getUser().getName() + ": " + st.getText() + "\n";
}
并尝试修复导入,但不起作用,我该怎么办?
And try fix import, but it doesnt work ,what am I do ?
推荐答案
为什么不 ^ ]可能会有约41,000,000个答案?
我猜想 Twitter4J [ ^ ]值得特别注意.
最好的问候
Espen Harlinn
Why don''t you look here[^] for about 41,000,000 answers that might help?
I would guess that Twitter4J[^] merits special attention.
Best regards
Espen Harlinn
粉红色!
您的代码中肯定没有足够的粉红色,因此如果您的任何朋友是女孩,它都将无效.
[或者关于错误消息.您的摘录不告诉我们任何内容:
-是运行时错误还是编译错误?
-什么是课程类型?
-您的项目中包含了哪些罐子?
扩大您的问题,也许,也许还会有更多帮助.
Pink!
There is definitely not enough pink in your code and so it won''t work if any of your friends are girls.
[Alternatively how about an error message. Your snippet tells us nothing:
- Is it a runtime or compile error?
- What are the class types?
- What jar''s have you included in your project?
Expand your question and maybe, just maybe, more help will be forthcoming.
这篇关于在netbeans的import语句中没有要解决的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文