Unable to Resolve Dependencies for iCal4j in Maven

88 views Asked by At

I'm currently facing a compilation error while working with Maven in my Java project. The issue revolves around missing dependencies related to iCal4j. Specifically, the error messages indicate that packages such as net.fortuna.ical4j.data net.fortuna.ical4j.model

and others do not exist.

Here's a snippet of the error messages I'm encountering:

[enter image description here](https://i.stack.imgur.com/YMmO0.png)

I've ensured that I've added the iCal4j dependency in my pom.xml file, and I've attempted to clean and install with the -U flag. However, the problem persists.

I would appreciate any insights into why these dependencies might not be resolving correctly and how I can address this issue.

Thank you for your time and assistance!

Notes:

As you can tell, I am a beginner, and I almost have no clue what I am doing. This is for an assignment due the day after tomorrow, and I started it a few days ago. I know it's bad. I have been on my computer for I don't know how many hours straight, and I can't find a solution. I have gotten multiple different error messages; I can't find them now.

1

There are 1 answers

0
Thilo Schwarz On

Check your dependencies, for the corrent ical4j it should be:

<dependency>
    <groupId>org.mnode.ical4j</groupId>
    <artifactId>ical4j</artifactId>
    <version>3.2.13</version>
</dependency>