Hallo, when I want to run the application, I had the errors: ../so/appframe

Hallo,
when I want to run the application, I had the errors:
…/so/appframe/styles.css and …/so/tokens/styles.css are missing in the frontend tree. Can you help me?

How did you try to run it?
What is the Vaadin version tried?

Hallo,
I use vaadin version 15.0.6.
I start build with “mvn package”.
The exact error is:
Failed to find the following css files in the “node_modules” or …\github\socomponents\frontend directory tree:

  • ./so/appframe/styles.css
  • ./so/tokens/styles.css
    -Check that they exist or are installed. If you use a custom directory for your resource files instead of the dafault “frontend” folder then make sure it is correctly configured(e.g. set “vaadin.frontend.frontend.folder” property)

Hi,
Not sure whether you are trying to run the add-on as an application. If you try that, it won’t work. You should add it as a dependency in your application and use it.
As an example, I posted a sample application using this add-on and posted it on github. Please download it and just run using:

mvn jetty:run

[Link to the Sample Application]
(https://github.com/syampillai/SOSample)

Hi,
I started with a new workspace in eclipse, cloned the source code from github, imported the source by creating a new maven project.
I got 4 errors, because I could not import org.w3c.dom.document and org.w3c.dom.DomImplementation.
Nevertheless I started run with mvn jetty:run.
I got the same errors I reported yesterday to You.

Not sure about Eclipse’s behaviour. There is no dependency on org.w3c.dom.document or org.w3c.dom.DomImplementation.

Can you just download the zip file from [the Sample Application]
(https://github.com/syampillai/SOSample), unzip in a fresh, temporary folder and run from the command line?

mvn jetty:run

This way, you will not get into the nuances of the IDE. Once that is working, you can dig into the issues of the IDE. If it is not working, you can send me the messages that shows up when you ran the command.