svn-config-server icon indicating copy to clipboard operation
svn-config-server copied to clipboard

Problem running the samples

Open kabennett opened this issue 10 years ago • 4 comments

I ran the SVN config server and client example, and I removed the default for the name property (i.e., World), and the example fails. Can you please explain what should be happening? The example only works if the default value is in place. It appears that the value isn't pulled properly from SVN. Thanks!

kabennett avatar Nov 24 '15 20:11 kabennett

Likely this sample is broken.

spencergibb avatar Nov 24 '15 20:11 spencergibb

OK, thanks for the quick reply! Can you briefly describe how it should work? In other words, what file(s) should exist in SVN for this example to work?

kabennett avatar Nov 24 '15 21:11 kabennett

Having the same problem. Anyone knows how to fix this?

thiagolocatelli avatar Jan 06 '16 16:01 thiagolocatelli

All right, I fixed the problem by replacing the dependency that is wrong:

replaced

        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-starter</artifactId>
        </dependency>

by

        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-starter-config</artifactId>
        </dependency>

@kabennett give it a try.

thiagolocatelli avatar Jan 06 '16 16:01 thiagolocatelli