alibaba / alibaba/funcraft

直接运行sudo fun local start 出现Error

Open
#977 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
931
Forks
128
PR merge metrics
No merged PRs in 30d

Description

Error详细信息:Cannot find the class com.xxx.Login in your zip file

目前技术人员给的解决方案是 先进行fun build。然后在运行fun local start。但是我在Linux上运行fun build也会出现error,详细可以参考这个[issue](https://github.com/alibaba/funcraft/issues/976)

然后技术给出的方法是:
1. 通过maven手动进行打包 获取 jar文件 $mvn package
2. 修改template.yml文件中的CodeUri 为jar的绝对路径
3. 运行fun local start

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the reported `fun local start` failure and compare it with issue #976. Reproduce the command on Linux, then inspect the Maven packaging result and the `CodeUri` setting in `template.yml`. Done means `fun local start` can locate `com.xxx.Login` without requiring the manual workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.