请问有dataease在windows下搭建开发环境的教程吗?

我这边出现了各种报错和包导入失败。
代码版本1.17
报错信息:

报错:java: 读取D:\XX\XXX.jar时出错; error in opening zip file[有效解决方案]_idea读取jar包出错_黄丕理的博客-CSDN博客](报错:java: 读取D:\XX\XXX.jar时出错; error in opening zip file[有效解决方案]_idea读取jar包出错_黄丕理的博客-CSDN博客)

开发环节搭建看这里
开发环境搭建 - DataEase 文档
里面 Windows 特殊的配置已经标出来了。其他的报错可以百度一下,一般是环境问题。

现在dataease启动后端代码报错:


看了下应该是缺少一些jar包,
请问如果要将dataease-extension-sdk打包成jar包的时候,是将整个项目打包成一个jar包还是要把每个包单独打包呢?

图片

项目目录执行 mvn clean install

请问这里的配置文件从哪里获取呢?除了dataease.properties还有哪些其他的配置文件呢?

文档前面讲到了,还给了参考内容

请问kettle相关的几个jar包是不是从maven下载不了?需要手动导入?现在在报这个错:
图片

这个包在官方文档里提供了下载地址,可以找一下

可以给下链接吗?在官方文档里找了半天没找到

开发问题 - DataEase 文档

非常感谢,前面的问题都解决了。
现在似乎到了最后的步骤,在启动后台代码时,会报这样的错:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (main-class-placement) on project backend: An Ant BuildException has occured: F:\0410BI\代码\dataease-1.18.7\dataease-1.18.7\frontend\dist does not exist.
[ERROR] around Ant part …… @ 4:43 in F:\0410BI\代码\dataease-1.18.7\dataease-1.18.7\backend\target\antrun\build-main.xml
[ERROR] → [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] MojoExecutionException - Apache Maven - Apache Software Foundation

Process finished with exit code 1

请问这是什么原因呢?

你是如何启动的?执行了什么命令

我是参考的这里:


在IDEA中直接跑main函数启动的:


注释掉 POM 里前端相关的代码试试

注释掉了,然后也解决了一堆包导入的问题,现在在启动的时候会报这个错,求大佬帮忙给看看,本地环境搭了两天了,难受
Error starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled.
2023-06-09 16:42:30,132 ERROR g.springframework.boot.SpringApplication: 856 - Application run failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘kettleFileRepository’ defined in class path resource [io/dataease/config/CommonConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.pentaho.di.repository.filerep.KettleFileRepository]: Factory method ‘kettleFileRepository’ threw exception; nested exception is org.pentaho.di.core.exception.KettleException:
java.lang.NoClassDefFoundError: org/apache/commons/vfs2/impl/StandardFileSystemManager
org/apache/commons/vfs2/impl/StandardFileSystemManager

at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:658)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:486)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1334)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1177)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:564)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:524)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:944)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:917)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:582)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:144)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:767)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:426)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:326)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1311)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1300)
at io.dataease.Application.main(Application.java:22)

Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.pentaho.di.repository.filerep.KettleFileRepository]: Factory method ‘kettleFileRepository’ threw exception; nested exception is org.pentaho.di.core.exception.KettleException:
java.lang.NoClassDefFoundError: org/apache/commons/vfs2/impl/StandardFileSystemManager
org/apache/commons/vfs2/impl/StandardFileSystemManager

at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185)
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653)
... 20 common frames omitted

Caused by: org.pentaho.di.core.exception.KettleException:
java.lang.NoClassDefFoundError: org/apache/commons/vfs2/impl/StandardFileSystemManager
org/apache/commons/vfs2/impl/StandardFileSystemManager

at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:163)
at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:101)
at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:82)
at io.dataease.config.CommonConfig.kettleFileRepository(CommonConfig.java:27)
at io.dataease.config.CommonConfig$$EnhancerBySpringCGLIB$$f449f944.CGLIB$kettleFileRepository$0(<generated>)
at io.dataease.config.CommonConfig$$EnhancerBySpringCGLIB$$f449f944$$FastClassBySpringCGLIB$$af9dee34.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244)
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331)
at io.dataease.config.CommonConfig$$EnhancerBySpringCGLIB$$f449f944.kettleFileRepository(<generated>)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)
... 21 common frames omitted

Caused by: java.lang.NoClassDefFoundError: org/apache/commons/vfs2/impl/StandardFileSystemManager
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at org.pentaho.di.core.vfs.KettleVFS.(KettleVFS.java:79)
at org.pentaho.di.core.vfs.KettleVFS.(KettleVFS.java:63)
at org.pentaho.di.core.plugins.PluginFolder.findJarFiles(PluginFolder.java:125)
at org.pentaho.di.core.plugins.PluginFolder.findJarFiles(PluginFolder.java:117)
at org.pentaho.di.core.plugins.JarFileCache.getFileObjects(JarFileCache.java:66)
at org.pentaho.di.core.plugins.BasePluginType.findAnnotatedClassFiles(BasePluginType.java:399)
at org.pentaho.di.core.plugins.BasePluginType.registerPluginJars(BasePluginType.java:706)
at org.pentaho.di.core.plugins.BasePluginType.searchPlugins(BasePluginType.java:185)
at org.pentaho.di.core.plugins.PluginRegistry.registerType(PluginRegistry.java:605)
at org.pentaho.di.core.plugins.PluginRegistry.init(PluginRegistry.java:560)
at org.pentaho.di.core.plugins.PluginRegistry.init(PluginRegistry.java:545)
at org.pentaho.di.core.KettleClientEnvironment.init(KettleClientEnvironment.java:117)
at org.pentaho.di.core.KettleClientEnvironment.init(KettleClientEnvironment.java:80)
at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:134)
… 34 common frames omitted
Caused by: java.lang.ClassNotFoundException: org.apache.commons.vfs2.impl.StandardFileSystemManager
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
… 60 common frames omitted

Process finished with exit code 1

pom中导入这个包还是不行:
图片

pom 不需要改的,用原来的 POM 依赖,只需要注释掉前端相关的。

没改pom的时候就还是报这个错呢

现在的报错是这个:

Error starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled.
2023-06-09 17:25:45,334 ERROR g.springframework.boot.SpringApplication: 856 - Application run failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘kettleFileRepository’ defined in class path resource [io/dataease/config/CommonConfig.class]: Post-processing of merged bean definition failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class [org.pentaho.di.repository.AbstractRepository] from ClassLoader [sun.misc.Launcher$AppClassLoader@18b4aac2]