Building a RESTful Web Service

Source: Internet
Author: User

reference:https://spring.io/guides/gs/rest-service/

Follow the links above and use Gradle build. Because total new ... The problems encountered during this period are as follows:

1. Gradlew is not a command:

Reason: Install Gradle when the default is not Gradlew, resolved: cmd Run:gradle Wrapper (understanding: For the Gradle version of the liberation? )

2... \gradlew build:cannot Download Gradle xxx Time Out

Reason: Proxy setting. Solution: Essay title: Proxy Setting, Gradle section ...

3.. \gradlew build--debug failed, and get info "illegal character: \65279"

Reason:.. #TODO: Search get, "illegal character: \65279" is BOM (byte order mark), should be used to mark the byte order, because the Java file is copied directly, so the inclusion of this character

Solution: In notepad++ encode in UTF8 without BOM, if ANSI can be satisfied also.

Building a RESTful Web Service

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.