最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

java - .env File Not Visible in srcmainresources in Eclipse - Stack Overflow

programmeradmin3浏览0评论

I'm working on a Selenium script in Eclipse, and I have a .env file inside src/main/resources/. However, the file is not showing up in the Project Explorer.

I have tried the following:

Refreshing the project (F5).

Checking if hidden files are enabled in Window → Preferences → General → Workspace.

Verifying that the .env file exists in src/main/resources/ using File Explorer.

Despite these steps, the file is still not visible in Eclipse. How can I make the .env file appear in Project Explorer?

I'm working on a Selenium script in Eclipse, and I have a .env file inside src/main/resources/. However, the file is not showing up in the Project Explorer.

I have tried the following:

Refreshing the project (F5).

Checking if hidden files are enabled in Window → Preferences → General → Workspace.

Verifying that the .env file exists in src/main/resources/ using File Explorer.

Despite these steps, the file is still not visible in Eclipse. How can I make the .env file appear in Project Explorer?

Share Improve this question asked yesterday Abhishek KalotraAbhishek Kalotra 1391 gold badge3 silver badges13 bronze badges 1
  • 3 Files starting with . are hidden by default. In the Project Explorer's view menu (the three dots in the upper right corner), go to Filters and Customizations and uncheck .* resources. – howlger Commented yesterday
Add a comment  | 

1 Answer 1

Reset to default 3

Files starting with . are hidden by default.

In the Project Explorer's view menu (the three dots in the upper right corner), go to Filters and Customizations and uncheck the .* resources entry.

发布评论

评论列表(0)

  1. 暂无评论