Skip to content

Mention fully executable jars when warning about Jersey's scanning limitations #3413

Closed
@lgawron

Description

@lgawron

I have a spring boot application (1.3.0.M1) with Jersey endpoints. As soon as I make the jar executable - the endpoints are not detected.

Using following configuration in pom.xml:

    <build>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                <configuration>
                    <executable>true</executable>
                </configuration>
            </plugin>
        </plugins>
    </build>

gives me:

{"timestamp":1435928140519,"status":404,"error":"Not Found",
 "message":"Not Found","path":"/ws/auth/token"}

Same starts working as soon as I comment out <executable> tag

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions