Giter VIP home page Giter VIP logo

geektime-todo's Issues

todo-core模块分包

请教下老师todo-core模块有必要分包吗,还是说代码比较少放一起,如果分包应该是怎么样子的呢

  • domain or model ?
    TodoItem、TodoParameter、TodoIndexParameter
  • service
    TodoItemService
  • repository
    TodoItemRepository
  • exception
    TodoException

项目运行gradlew bootRun问题

老师您好,我build正常,但运行的时候碰到这个问题
参考了stackoverflow 重启idea无果

Execution failed for task ':todo-cli:bootRun'.
> Process 'command 'D:\Program Files\Java\jdk1.8.0_121\bin\java.exe'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

todo-cli 如何运行起来

老师你好,参考picocli运行todo-cli
我碰到了下面的这个报错

E:\idea-workspace\geektime-todo\todo-cli\build\libs> java -cp "picocli-4.6.1.jar;todo-cli-20210807-SNAPSHOT.jar" com.github.dreamhead.todo.cli.Bootstrap
Exception in thread "main" java.lang.NoClassDefFoundError: com/github/dreamhead/todo/core/TodoItemRepository
        at com.github.dreamhead.todo.cli.Bootstrap.main(Bootstrap.java:10)
Caused by: java.lang.ClassNotFoundException: com.github.dreamhead.todo.core.TodoItemRepository
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 1 more

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.