Git Product home page Git Product logo

Comments (5)

sproket avatar sproket commented on July 30, 2024 1

I think the issue is running it from the maven menu in intellij. I think it uses "mvn javapackager:package" instead of "mvn package". The latter works for this now.

from javapackager.

fvarrui avatar fvarrui commented on July 30, 2024

Hi @ryl0125!
I'm not being able to reproduce your issue. I've just build a personal project using JP 1.7.5 without problems.
Are you sure com.example.demo.MainApp exists?
Maybe are you trying to build your project directly from IntellJ?

from javapackager.

fvarrui avatar fvarrui commented on July 30, 2024

Issue closed due to lack of activity. If this issue persists, open it again, please.

from javapackager.

sproket avatar sproket commented on July 30, 2024

I see this issue in 1.7.5 with this config:

I'm running with Java 21 with preview features. The app is JavaFX



<plugin>
                <groupId>io.github.fvarrui</groupId>
                <artifactId>javapackager</artifactId>
                <version>1.7.5</version>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>package</goal>
                        </goals>
                        <configuration>
                            <mainClass>game.ui.Launcher</mainClass>
                            <bundleJre>true</bundleJre>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

from javapackager.

fvarrui avatar fvarrui commented on July 30, 2024

I think the issue is running it from the maven menu in intellij. I think it uses "mvn javapackager:package" instead of "mvn package". The latter works for this now.

Thanks for the info!

from javapackager.

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.