cloudbeaver icon indicating copy to clipboard operation
cloudbeaver copied to clipboard

After importing the project in eclipse, debug reports an error

Open yunkuotianxian opened this issue 3 years ago • 7 comments

Import the project according to the content in "develop in eclipse" and debug it. The errors are as follows(The detailed error reporting log is in log_info.txt file): image image image image

log_info.txt

yunkuotianxian avatar Jul 01 '22 11:07 yunkuotianxian

Hi @yunkuotianxian,

Try to deselect "org.jkiss.dbeaver.slf4j" plug-in from your configuration file. image

yagudin10 avatar Jul 13 '22 13:07 yagudin10

@yagudin10 ,I cancel the selection and report an error without "unresolved requirement: import package: org.slf4j"

org.osgi.framework.BundleException: Could not resolve module: io.cloudbeaver.model [10] Unresolved requirement: Import-Package: org.slf4j

at org.eclipse.osgi.container.Module.start(Module.java:463)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:1847)
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:136)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1840)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1781)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1745)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1667)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345)

!ENTRY io.cloudbeaver.product.ce 4 0 2022-07-17 21:33:23.299 !MESSAGE FrameworkEvent ERROR !STACK 0 org.osgi.framework.BundleException: Could not resolve module: io.cloudbeaver.product.ce [11] Unresolved requirement: Require-Bundle: io.cloudbeaver.server -> Bundle-SymbolicName: io.cloudbeaver.server; bundle-version="22.1.1.qualifier"; singleton:="true" io.cloudbeaver.server [13] Unresolved requirement: Import-Package: org.slf4j

at org.eclipse.osgi.container.Module.start(Module.java:463)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:1847)
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:136)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1840)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1781)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1745)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1667)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345)

yunkuotianxian avatar Jul 17 '22 13:07 yunkuotianxian

@yunkuotianxian, You should try to select "org.slf4j.api" plug-in to your configuration file.

yagudin10 avatar Jul 20 '22 08:07 yagudin10

"Org.slf4j.api" has always been selected. If I try to uncheck it, I will also report an error. This package is really necessary. It seems that the content of my initial question has nothing to do with this

------------------ 原始邮件 ------------------ 发件人: "dbeaver/cloudbeaver" @.>; 发送时间: 2022年7月20日(星期三) 下午4:58 @.>; @.@.>; 主题: Re: [dbeaver/cloudbeaver] After importing the project in eclipse, debug reports an error (Issue #947)

@yunkuotianxian, You should try to select "org.slf4j.api" plug-in to your configuration file.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

yunkuotianxian avatar Jul 21 '22 10:07 yunkuotianxian

Hi @yunkuotianxian , Have you tried to validate required plug-ins in your configuration file?

yagudin10 avatar Jul 29 '22 09:07 yagudin10

Can you tell me how to do it in detail? This has bothered me for a long time

------------------ 原始邮件 ------------------ 发件人: "dbeaver/cloudbeaver" @.>; 发送时间: 2022年7月29日(星期五) 下午5:03 @.>; @.@.>; 主题: Re: [dbeaver/cloudbeaver] After importing the project in eclipse, debug reports an error (Issue #947)

Hi @yunkuotianxian , Have you tried to validate required plug-ins in your configuration file?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

yunkuotianxian avatar Jul 30 '22 03:07 yunkuotianxian

@yunkuotianxian , You can find an information about plug-in validation in this article (at the bottom)

yagudin10 avatar Aug 02 '22 16:08 yagudin10

I've noticed that there is no updates during for a long time. Feel free to contact me to reopen the ticket.

kseniaguzeeva avatar Sep 02 '22 09:09 kseniaguzeeva