Solution for project 'cas-Server' is missing required source folder: 'gen'

Source: Internet
Author: User

This error is obvious, that is, the gen file cannot be found.

1. Select the project and find the clean solution under the project. This is a mainstream solution on the Internet, but there is no miracle here,

2. I will create a Gen folder in eclipse, but unfortunately I am prompted that the gen folder already exists, I went to the hard drive directory of the project (similar to SRC) and manually created a Gen folder.

 

Probably because of a problem with my CVS or SVN, this folder is not blocked, so the above error is solved, but sadly, the following problem occurs again,

If the is library option is checked in the library, the above error is eliminated. This is not a trivial matter. I hope you will not copy others' articles and stick to writing your own experiences .. In addition, if you try hard and cannot change the expected results, you can solve the problem inadvertently. This is life. As the saying goes: You don't have the heart to plant flowers, and you don't have the intention to insert willow trees into the shade.

[From] http://www.cnblogs.com/jiuzhexingfu/archive/2011/10/20/2219204.html

Let's talk about my own solution:

In this position, there is a XXX which turns red, just remove it. I don't know how everyone else solves this problem.

Good luck to all the friends who have encountered this problem!

Related Article

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.