Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

感谢对 solon 的支持!!! #280

Closed
noear opened this issue Jul 19, 2024 · 11 comments
Closed

感谢对 solon 的支持!!! #280

noear opened this issue Jul 19, 2024 · 11 comments

Comments

@noear
Copy link

noear commented Jul 19, 2024

在 readme 的里,也可以给 solon 版些展示的机会:)

@1171736840
Copy link
Collaborator

我对 solon 还不是太熟悉,后续会增加的,另外 solon 的 QQ 群加了几次进不去

@noear
Copy link
Author

noear commented Jul 19, 2024

不会吧?进不群。。。是被拒了?还是被T了?。。。最近有些人进来打色情广告。管理比较严(要正确回答问题,才能进)

@1171736840
Copy link
Collaborator

就是申请了,没有任何回应

@noear
Copy link
Author

noear commented Jul 19, 2024

@1171736840 你填写的答案是什么?

@1171736840
Copy link
Collaborator

java 框架,要不我再申请一下吧

@noear
Copy link
Author

noear commented Jul 19, 2024

java 框架能进的。。。再试下

@1171736840
Copy link
Collaborator

成功进入了!!!

@transtone
Copy link

@noear solon-2.9.3 跑不起来。#297

@noear
Copy link
Author

noear commented Sep 20, 2024

@transtone 有可能使用了弃用接口,在 2.9.3 里被移掉了(看看有什么提示)

@transtone
Copy link

transtone commented Sep 20, 2024

Caused by: java.lang.invoke.LambdaConversionException:
 Invalid receiver type class org.noear.solon.core.handle.UploadedFile; 
not a subtype of implementation receiver type class org.noear.solon.core.handle.DownloadedFile

ps:
minio-solon-cloud-plugin 也不知道怎么用。示例居然是自创一个 media 文件,我只是想把 UploadFile 文件 put 上去而已!看了源码才知道 Media 是一个自建类型,怎么样把 UploadFile 转 Media,还要摸索。可这不就是文档里加一句话的事吗:

        InputStream inputStream = file.getContent();
        String contentType = file.getContentType();
        long fileSize = file.getContentSize();
        String fileName = file.getName();
        //上传文件
        Result result = CloudClient.file().put(fileName, new Media(inputStream, contentType, fileSize));

@noear
Copy link
Author

noear commented Sep 20, 2024

@transtone 完整的异常栈放出来看下。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants