Cling cannot find the class for developing dlna!

Source: Internet
Author: User

=============== Problem description ====================


After studying cling, I found that the running failed in the demo, but I still don't understand the cause. I always reported an error. This is an error message.
09:49:49 08-11. 194: E/dalvikvm (19398): cocould not find class 'org. fourthline. cling. transport. impl. asyncservletstreamserverimpl $1 ', referenced from method Org. fourthline. cling. transport. impl. asyncservletstreamserverimpl. createservlet

09:49:49 08-11. 194: E/dalvikvm (19398): cocould not find class 'org. eclipse. jetty. server. request ', referenced from method Org. fourthline. cling. transport. impl. jetty. jettyservletcontainer. isconnectionopen


09:49:49 08-11. 194: E/dalvikvm (19398): cocould not find class 'org. eclipse. jetty. server. bio. socketconnector ', referenced from method Org. fourthline. cling. transport. impl. jetty. jettyservletcontainer. addconnector

09:49:49 08-11. 204: E/dalvikvm (19398): cocould not find class 'org. eclipse. jetty. server. server ', referenced from method Org. fourthline. cling. transport. impl. jetty. jettyservletcontainer. resetserver

The above is a few error messages. I have added the jetty jar package, but it still does not work, and it has been referenced. The reason is unknown and it is confusing.

I tried some online solutions to these problems, but none of them solved them,
1 clear project
2 build path
3use as source folder
4 libs
5 order and export
These are all tried. It is true that it is okay to introduce cling jar, but cling is a third-party jar package and then reports this error during use, after adding the jetty jar package, these methods are useless. I don't know why. Please advise!





============= Solution 1 ======================


Try to put the jar in the libs directory.

Cling cannot find the class for developing dlna!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.