配置为包装的gradle项目版本3.5。这个gradle wrapper版本在导入项目时正常工作Intelij IDEA 2017.1和IDEA war artifact可用。InteliJ IDEA神器配置不正确,使用Gradle
我尝试更新gradle这个包装版本4.0.2和IDEA无法配置的文物,它显示了这样的警告:
Warning:<i><b>root project 'dummy-trunk': Web Facets/Artifacts will not be configured properly</b>
Details: org.gradle.internal.typeconversion.UnsupportedNotationException: Cannot convert the provided notation to a File or URI: .
The following types/formats are supported:
- A String or CharSequence path, for example 'src/main/java' or '/usr/include'.
- A String or CharSequence URI, for example 'file:/usr/include'.
- A File instance.
- A Path instance.
- A URI or URL instance.</i>
也许有人同样的问题?
我不知道如何获取有关警告的更多信息。 我试图运行> gradlew idea -d
,但此调试输出不显示警告。
你试过2017.2.1版吗? Gradle 4.x应该在那里得到正确的支持。 – CrazyCoder
你试过'gradlew wrapper'来更新包装吗? – leonardo12
尚未尝试更新IDEA 2017.2。我回头告诉你。 –