Coder Social home page Coder Social logo

fuseki-mods's People

Contributors

afs avatar dependabot[bot] avatar

Watchers

 avatar  avatar

Forkers

simonbin aksw

fuseki-mods's Issues

"Can't locate the UI static resources" since jena-5 upgrade

We are using a jar bundle of jena-fmod-ui and with a recent upgrade the UI fails to start and we see the following log message during fuseki-main startup:

fuseki-1  | [2024-03-08 01:45:41] Config     WARN  Can't locate the UI static resources

The following commit broke lookup of the webapp folder in the jar's classpath.

72deab5#diff-b48a62870a93095fe962ba06dc3469fabe84e78ace1858017f39f2bdc19c73feL74

The fix is to use:

uiApp = ResourceFactory.root().newClassLoaderResource(resourceNameUI);

Perhaps a better fix is to perform the lookup for the webapp resource on the file system first and then fall back to the classpath.

As a note:
newClassLoaderResource(resource) calls newClassLoaderResource(resource, true) which calls newClassLoaderResource(String resource, boolean searchSystemClassLoader)

I am not sure whether its necessary to also search in the system class loader.
But resource lookups in different setups are somewhat arcane, so I'd think searching in one place too many is more useful than searching in one too few.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.