0

Pretty much the title, i'm using this Vaadin component to implement a calendar in my application.
This is the relevant part of my Pom.xml file:

        <repository>
            <id>Vaadin Directory</id>
            <url>https://maven.vaadin.com/vaadin-addons</url>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
        </repository>
                                /////////////

         <dependency>
            <groupId>org.vaadin.stefan</groupId>
            <artifactId>fullcalendar2</artifactId>
            <version>6.0.0</version>
        </dependency>

I should be able to use this import, anywhere in my application:

import org.vaadin.stefan.ui.view.demos.entryproviders.EntryService;

But i can't i continuosly run into the error:

The import org.vaadin.stefan.ui cannot be resolvedJava(268435846)

Witch is very strange since the import should work.

Can you help me make org.vaadin.stefan.ui work?

James
  • 25
  • 8
  • 2
    The dependency / JAR file that you added through Maven does not contain that class. It's part of the project's demo module, which doesn't seem to be distributed through Maven: https://github.com/stefanuebe/vaadin_fullcalendar/blob/master/demo – Sascha Ißbrücker Jun 22 '23 at 16:37
  • hello Sascha is there any way to use that import ? – James Jun 23 '23 at 15:08
  • 1
    Why do you want to use it, it's only for demonstration purposes? Looking at the examples on the page that you linked, you are supposed to use an `EntryProvider` with the component. – Sascha Ißbrücker Jun 23 '23 at 16:25

1 Answers1

1

As sasha metioned this import is from the demos and it just for demostration.

import org.vaadin.stefan.ui.view.demos.entryproviders.EntryService;

If you want to use entryservice you have to manually create the java class and the package inside your own application.

James
  • 25
  • 8