Giter VIP home page Giter VIP logo

Comments (8)

bratseth avatar bratseth commented on April 28, 2024

Welcome back Trygve :-)
@gjoranv this is why we should do the "container-dev" -> "container" thing I mentioned.

I guess it won't happen that soon - should we just add vespaclient-container-plugin dep to basic-search to avoid this, or add it to the documentation, or ...?

from vespa.

gjoranv avatar gjoranv commented on April 28, 2024

@bratseth This is the test classpath, not provided/runtime. I'll add vespaclient-container-plugin as a dependency in application for now, and move it to container-test when that is ready.

from vespa.

huihuang01 avatar huihuang01 commented on April 28, 2024

Has this issue been fixed or not? I encountered the same problem and fixed it by manually adding the dependency. Not sure if other people know how to do or not ...

from vespa.

gjoranv avatar gjoranv commented on April 28, 2024

This is work in progress. New maven artifacts for 3rd party developers will be available soon.

from vespa.

Shastick avatar Shastick commented on April 28, 2024

One of the sample applications fails with a similar exception (see SO question at https://stackoverflow.com/q/46772244/1997056). Could it be related to this problem?

from vespa.

gjoranv avatar gjoranv commented on April 28, 2024

@Shastick, your problem is not related to this issue. I'll test the sample app and get back to you on SO.

from vespa.

gjoranv avatar gjoranv commented on April 28, 2024

From version 6.158.42, you can remove all dependencies with groupId com.yahoo.vespa from your project's pom.xml file, and instead insert the following:

        <dependency>
            <groupId>com.yahoo.vespa</groupId>
            <artifactId>container</artifactId>
            <version>${vespa_version}</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.yahoo.vespa</groupId>
            <artifactId>container-test</artifactId>
            <version>${vespa_version}</version>
            <scope>test</scope>
        </dependency>

Please make sure that you have the vespa_versionor similar property defined in your pom.xml and update it to 6.158.42 or newer.

@trygve or @huihuang01 , could you please try to apply the proposed changes to your pom.xml?Thanks!

from vespa.

gjoranv avatar gjoranv commented on April 28, 2024

All sample apps have been updated to use 'container' and 'container-test' since vespa-engine/sample-apps#28

from vespa.

Related Issues (20)

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.