微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

BuildPack 无法解析 gradle 多项目 java springboot 代码的工件

如何解决BuildPack 无法解析 gradle 多项目 java springboot 代码的工件

我创建了一个设置文件,其中包含 一个 rootProject.name 后跟每个微服务的包含语句。 但是在使用 buildpack 进行构建时,我得到了

bool SSLSocket::connect(wchar_t * strDestination,int port,int timeout)
{
    SocketAddress socketAddress(strDestination,port);
    return this->connect(&socketAddress,timeout);
}
bool SSLSocket::connect(SocketAddress * sockAddress,int timeout)
{
    bool success = 
        (this->_sslHandle != NULL && 
        Socket::connect(sockAddress,timeout) &&                // Regular TCP connection
        SSL_set_fd(this->_sslHandle,(int)this->_hSocket) == 1 &&   // Connect the SSL struct to our connection
        SSL_connect(this->_sslHandle) == 1);                    // Initiate SSL handshake

    if (!success)
        this->close();

    return success;
}

int SSLSocket::_recv(void * lpBuffer,int size,int flags)
{
    MonitorLock cs(&_mutex);
    return SSL_read(this->_sslHandle,lpBuffer,size);
}

int SSLSocket::_send(const void * lpBuffer,int flags)
{
    return SSL_write(this->_sslHandle,size);
}

所以我在根文件夹中创建了一个 project.toml 文件并重复构建。

! Failed with status code: 145
[builder] unable to invoke layer creator
                                                                                                     │ [builder] unable to contribute application layer
│ [builder] unable to resolve artifact
│ [builder] unable to find single built artifact in build/libs/*.[jw]ar,candidate
│ s: []. If this is unexpected,please try setting rootProject.name in settings.gr
│ adle or add a project.toml file and exclude the build/ directory. For details se
│ e https://buildpacks.io/docs/app-developer-guide/using-project-descriptor/.

观察到与上述相同的错误

不确定我到底缺少什么!

谢谢

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。