javaintellij-ideaical4j

ical4j.properties file IntelliJ


I've been trying to parse an iCal file using ical4j but I can't seem to make it find the ical4j.properties file.

From the documentation we can read that we should create a file within our classpath. So according to this question I should have done exactly that. My directory structure looks as follows:

src
-- main/
----java/
------project/
------ical4j.properties
------main.java
----resource/
--test/

The folder named Java is indeed blue so it should be in my classpath. It also contains the properties file so I'm stuck on how to get it to find the file.


Solution

  • place the ical4j.properties in your resources folder and it will work