javamavenjhipsterpom.xmlical4j

Add ical4j to a maven jhipster project


I have a jhipster generated application using maven with java springboot on the backend. I want to add the ical4j library to the project so under the <dependencies> tag in the pom.xml file I added the lines like explained here . However when I add import org.mnode.ical4j; the maven compiler throws an error package org.mnode does not exist . This seems pretty trivial but I don't get what I am missing. Thank you


Solution

  • From what I can see in the official GitHub repo (ical4j/ical4j) the correct package to import starts from net.fortuna.ical4j. Example:

    import net.fortuna.ical4j.util.DefaultEncoderFactory;