powered by simpleCommunicator - 2.0.61     © 2026 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / Java [игнор отключен] [закрыт для гостей] / Ошибка java.lang.NoClassDefFoundError: org/pentaho/metadata/repository/IMetadataDomainRep
20 сообщений из 20, страница 1 из 1
Ошибка java.lang.NoClassDefFoundError: org/pentaho/metadata/repository/IMetadataDomainRep
    #38498076
vadipok
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Добрый день!

Помогите пожалуйста.

Код: java
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
import java.io.*;
import java.text.Format;
import java.text.SimpleDateFormat;
import java.util.*;
import java.util.Map.Entry;
import java.util.logging.Level;
import java.util.logging.Logger;
import java.net.URL;
import ru.it.dob.qms.jpa.security.Employee;

import javax.annotation.PostConstruct;
import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.faces.context.FacesContext;
import javax.faces.event.AjaxBehaviorEvent;
import javax.servlet.ServletContext;
import javax.faces.FacesException;
import javax.servlet.http.HttpServletResponse;

import net.sf.jasperreports.engine.*;
import net.sf.jasperreports.engine.data.JRBeanCollectionDataSource;
import net.sf.jasperreports.engine.design.JasperDesign;
import net.sf.jasperreports.engine.export.JExcelApiExporterParameter;
import net.sf.jasperreports.engine.export.JRXlsExporterParameter;
import net.sf.jasperreports.engine.export.ooxml.JRXlsxExporter;
import net.sf.jasperreports.engine.xml.JRXmlLoader;
import org.pentaho.reporting.engine.classic.core.ClassicEngineBoot;

import ru.it.dob.qms.ejb.CoreBean;
import ru.it.dob.qms.ejb.StatisticsBean;
import ru.it.dob.qms.enums.OperationType;
import ru.it.dob.qms.jpa.*;
import ru.it.dob.qms.bean.ApplicationStateBean;

import org.pentaho.reporting.engine.classic.core.modules.output.table.xls.ExcelReportUtil;
import org.pentaho.reporting.libraries.resourceloader.Resource;
import org.pentaho.reporting.libraries.resourceloader.ResourceManager;
import org.pentaho.reporting.engine.classic.core.MasterReport;
import org.pentaho.reporting.engine.classic.core.util.ReportParameterValues;




Код: java
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
51.
52.
53.
54.
55.
56.
57.
58.
59.
60.
61.
62.
63.
64.
65.
66.
67.
68.
69.
70.
71.
72.
73.
74.
75.
76.
77.
78.
79.
80.
81.
82.
83.
84.
85.
86.
87.
88.
89.
90.
91.
92.
93.
94.
95.
96.
97.
98.
99.
100.
101.
102.
103.
104.
105.
106.
107.
108.
109.
110.
111.
112.
113.
114.
115.
116.
117.
118.
119.
120.
121.
122.
123.
124.
125.
126.
127.
128.
129.
130.
131.
132.
133.
134.
135.
136.
137.
138.
139.
140.
141.
142.
143.
144.
145.
146.
147.
148.
149.
150.
151.
152.
153.
154.
155.
156.
157.
158.
159.
160.
161.
162.
163.
164.
165.
166.
167.
168.
169.
170.
171.
172.
173.
174.
175.
176.
177.
178.
179.
180.
181.
182.
183.
184.
185.
186.
187.
188.
189.
190.
191.
192.
193.
194.
195.
196.
197.
198.
199.
200.
201.
202.
203.
204.
205.
206.
207.
208.
 <dependencies>
    
    <dependency>
      <groupId>org.richfaces.core</groupId>
      <artifactId>richfaces-core-impl</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>${project.groupId}</groupId>
      <artifactId>qms-ejb</artifactId>
      <version>${project.version}</version>
    </dependency>
    <dependency>
      <groupId>ru.it.dob.qms</groupId>
      <artifactId>qms-ejb</artifactId>
      <version>2_3</version>
      <type>ejb</type>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>ru.it.dob.qms</groupId>
      <artifactId>qms-jpa-lib</artifactId>
      <version>2_3</version>
      <scope>provided</scope>
    </dependency>

    <dependency>
      <groupId>pentaho-library</groupId>
      <artifactId>libloader</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-library</groupId>
      <artifactId>libbase</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-reporting-engine</groupId>
      <artifactId>pentaho-reporting-engine-classic-core</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-library</groupId>
      <artifactId>libserializer</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-library</groupId>
      <artifactId>libformula</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-library</groupId>
      <artifactId>libfonts</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-library</groupId>
      <artifactId>libformat</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-library</groupId>
      <artifactId>libdocbundle</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-library</groupId>
      <artifactId>libxml</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-library</groupId>
      <artifactId>librepository</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>org.apache.poi</groupId>
      <artifactId>poi-ooxml</artifactId>
      <version>3.9</version>
    </dependency>
    <dependency>
      <groupId>mysql</groupId>
      <artifactId>mysql-connector-java</artifactId>
      <version>5.1.27</version>
    </dependency>
    <dependency>
      <groupId>commons-logging</groupId>
      <artifactId>commons-logging</artifactId>
      <version>1.1.3</version>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.11</version>
    </dependency>
    <dependency>
      <groupId>com.sun.faces</groupId>
      <artifactId>jsf-api</artifactId>
      <version>2.2.4</version>
    </dependency>
    <dependency>
      <groupId>net.sf.jasperreports</groupId>
      <artifactId>jasperreports</artifactId>
      <version>5.5.0</version>
    </dependency>
    <dependency>
      <groupId>org.richfaces.ui</groupId>
      <artifactId>richfaces-components-ui</artifactId>
      <scope>provided</scope>
      <version>4.3.4.Final</version>
    </dependency>

    <dependency>
      <groupId>javax</groupId>
      <artifactId>javaee-web-api</artifactId>
      <version>7.0</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>com.sun.faces</groupId>
      <artifactId>jsf-impl</artifactId>
      <version>2.2.4</version>
    </dependency>
    <dependency>
      <groupId>pentaho-reporting-engine</groupId>
      <artifactId>pentaho-reporting-engine-wizard-core</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-reporting-engine</groupId>
      <artifactId>pentaho-reporting-engine-legacy-charts</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-reporting-engine</groupId>
      <artifactId>pentaho-reporting-engine-classic-extensions-scripting</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-reporting-engine</groupId>
      <artifactId>pentaho-reporting-engine-classic-extensions-xpath</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-reporting-engine</groupId>
      <artifactId>pentaho-reporting-engine-classic-extensions-toc</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-reporting-engine</groupId>
      <artifactId>pentaho-reporting-engine-classic-extensions-kettle</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-reporting-engine</groupId>
      <artifactId>pentaho-reporting-engine-classic-extensions-mondrian</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-reporting-engine</groupId>
      <artifactId>pentaho-reporting-engine-classic-extensions-olap4j</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-reporting-engine</groupId>
      <artifactId>pentaho-reporting-engine-classic-extensions-drill-down</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-reporting-engine</groupId>
      <artifactId>pentaho-reporting-engine-classic-extensions-reportdesigner-parser</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-reporting-engine</groupId>
      <artifactId>pentaho-reporting-engine-classic-extensions</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-reporting-engine</groupId>
      <artifactId>pentaho-reporting-engine-classic-extensions-pmd</artifactId>
      <version>5.0.2</version>
    </dependency>
    <!--    <dependency>
      <groupId>pentaho</groupId>
      <artifactId>pentaho-metadata</artifactId>
      <version>5.0.2</version>
    </dependency>-->
    <dependency>
      <groupId>pentaho-library</groupId>
      <artifactId>libsparkline</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-reporting-engine</groupId>
      <artifactId>pentaho-reporting-engine-classic-core-platform-plugin-package</artifactId>
      <version>5.0.2</version>
      <type>pom</type>
    </dependency>
    <dependency>
      <groupId>org.jboss.javaee</groupId>
      <artifactId>jboss-javaee</artifactId>
      <version>5.0.1.GA</version>
    </dependency>

    
  </dependencies> 



Код: java
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
    public void showDetailInExcel() {
        try {
            ClassicEngineBoot.getInstance().start();
            ResourceManager resourceManager = new ResourceManager();
            resourceManager.registerDefaults();
            Resource res = resourceManager.createDirectly(new URL("file:/C:/Project/Report/DetailStatistics.prpt"), MasterReport.class);
            MasterReport masterReport = (MasterReport) res.getResource();
            ReportParameterValues parameterValues = masterReport.getParameterValues();
            parameterValues.put("dateFrom", dateFrom);
            parameterValues.put("dateTo", dateTo);
            parameterValues.put("departmentId", applicationStateBean.getCurrentDepartment().getId());

            FileOutputStream fileOutputStream = new FileOutputStream("c:\\Project\\test.xls");

            ExcelReportUtil.createXLS(masterReport, fileOutputStream);
            fileOutputStream.close();
        } catch (Exception ex) {
            Logger.getLogger(TestStatisticsMB2.class.getName()).log(Level.SEVERE, null, ex);
        }
    }



В строке
Код: java
1.
Resource res = resourceManager.createDirectly(new URL("file:/C:/Project/Report/DetailStatistics.prpt"), MasterReport.class);



возникает следующая ошибка:
Код: java
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
51.
52.
53.
54.
55.
56.
57.
58.
59.
60.
WARNING:   #{statisticsMB2.showDetailInExcel}: java.lang.NoClassDefFoundError: org/pentaho/metadata/repository/IMetadataDomainRepository
javax.faces.FacesException: #{statisticsMB2.showDetailInExcel}: java.lang.NoClassDefFoundError: org/pentaho/metadata/repository/IMetadataDomainRepository
	at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)
	at javax.faces.component.UICommand.broadcast(UICommand.java:315)
	at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:790)
	at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1282)
	at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
	at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:646)
	at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1682)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:318)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:160)
	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:734)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:673)
	at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:99)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:174)
	at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:357)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:260)
	at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:246)
	at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:191)
	at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:168)
	at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:189)
	at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
	at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:288)
	at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:206)
	at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:136)
	at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:114)
	at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
	at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:838)
	at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:113)
	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115)
	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55)
	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135)
	at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:564)
	at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:544)
	at java.lang.Thread.run(Thread.java:744)
Caused by: javax.faces.el.EvaluationException: java.lang.NoClassDefFoundError: org/pentaho/metadata/repository/IMetadataDomainRepository
	at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:101)
	at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
	... 34 more
Caused by: java.lang.NoClassDefFoundError: org/pentaho/metadata/repository/IMetadataDomainRepository
	at org.pentaho.reporting.engine.classic.extensions.datasources.pmd.loader.MetadataModelResourceFactory.getFactoryType(MetadataModelResourceFactory.java:97)
	at org.pentaho.reporting.libraries.resourceloader.DefaultResourceManagerBackend.isSupportedTarget(DefaultResourceManagerBackend.java:301)
	at org.pentaho.reporting.libraries.resourceloader.DefaultResourceManagerBackend.create(DefaultResourceManagerBackend.java:265)
	at org.pentaho.reporting.libraries.resourceloader.ResourceManager.create(ResourceManager.java:419)
	at org.pentaho.reporting.libraries.resourceloader.ResourceManager.create(ResourceManager.java:378)
	at org.pentaho.reporting.libraries.resourceloader.ResourceManager.createDirectly(ResourceManager.java:214)
	at ru.it.dob.qms.bean.admin.TestStatisticsMB2.showDetailInExcel(TestStatisticsMB2.java:376)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at com.sun.el.parser.AstValue.invoke(AstValue.java:275)
	at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:304)
	at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:40)
	at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:50)
	at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
	at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:87)
	... 35 more



После добавления в помник
Код: java
1.
2.
3.
4.
5.
    <dependency>
      <groupId>pentaho</groupId>
      <artifactId>pentaho-metadata</artifactId>
      <version>5.0.2</version>
    </dependency>


Приложение вообще не компилируется. И валится со следующей ошибкой:
Код: java
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 28.672s
Finished at: Thu Dec 12 12:40:13 YEKT 2013
Final Memory: 10M/308M
------------------------------------------------------------------------
Failed to execute goal on project qms-web: Could not resolve dependencies for project ru.it.dob.qms:qms-web:war:2_3: Failed to collect
 dependencies for [org.richfaces.core:richfaces-core-impl:jar:4.3.3.Final (provided), ru.it.dob.qms:qms-ejb:jar:2_3 (compile), 
ru.it.dob.qms:qms-ejb:jar:2_3 (provided), ru.it.dob.qms:qms-jpa-lib:jar:2_3 (provided), pentaho-library:libloader:jar:5.0.2 (compile), 
pentaho-library:libbase:jar:5.0.2 (compile), pentaho-reporting-engine:pentaho-reporting-engine-classic-core:jar:5.0.2 (compile), pentaho-
library:libserializer:jar:5.0.2 (compile), pentaho-library:libformula:jar:5.0.2 (compile), pentaho-library:libfonts:jar:5.0.2 (compile), pentaho-
library:libformat:jar:5.0.2 (compile), pentaho-library:libdocbundle:jar:5.0.2 (compile), pentaho-library:libxml:jar:5.0.2 (compile), pentaho-
library:librepository:jar:5.0.2 (compile), org.apache.poi:poi-ooxml:jar:3.9 (compile), mysql:mysql-connector-java:jar:5.1.27 (compile), 
commons-logging:commons-logging:jar:1.1.3 (compile), junit:junit:jar:4.11 (compile), com.sun.faces:jsf-api:jar:2.2.4 (compile), 
net.sf.jasperreports:jasperreports:jar:5.5.0 (compile), org.richfaces.ui:richfaces-components-ui:jar:4.3.4.Final (provided), javax:javaee-
web-api:jar:7.0 (provided), com.sun.faces:jsf-impl:jar:2.2.4 (compile), pentaho-reporting-engine:pentaho-reporting-engine-wizard-
core:jar:5.0.2 (compile), pentaho-reporting-engine:pentaho-reporting-engine-legacy-charts:jar:5.0.2 (compile), pentaho-reporting-
engine:pentaho-reporting-engine-classic-extensions-scripting:jar:5.0.2 (compile), pentaho-reporting-engine:pentaho-reporting-engine-
classic-extensions-xpath:jar:5.0.2 (compile), pentaho-reporting-engine:pentaho-reporting-engine-classic-extensions-toc:jar:5.0.2 
(compile), pentaho-reporting-engine:pentaho-reporting-engine-classic-extensions-kettle:jar:5.0.2 (compile), pentaho-reporting-
engine:pentaho-reporting-engine-classic-extensions-mondrian:jar:5.0.2 (compile), pentaho-reporting-engine:pentaho-reporting-engine-
classic-extensions-olap4j:jar:5.0.2 (compile), pentaho-reporting-engine:pentaho-reporting-engine-classic-extensions-drill-down:jar:5.0.2
 (compile), pentaho-reporting-engine:pentaho-reporting-engine-classic-extensions-reportdesigner-parser:jar:5.0.2 (compile), pentaho-
reporting-engine:pentaho-reporting-engine-classic-extensions:jar:5.0.2 (compile), pentaho-reporting-engine:pentaho-reporting-engine-
classic-extensions-pmd:jar:5.0.2 (compile), pentaho:pentaho-metadata:jar:5.0.2 (compile), pentaho-library:libsparkline:jar:5.0.2 
(compile), pentaho-reporting-engine:pentaho-reporting-engine-classic-core-platform-plugin-package:pom:5.0.2 (compile), 
org.jboss.javaee:jboss-javaee:jar:5.0.1.GA (compile)]: Failed to read artifact descriptor for jug-lgpl:jug-lgpl:jar:2.0.0: Could not transfer 
artifact jug-lgpl:jug-lgpl:pom:2.0.0 from/to jboss-releases-repository 
(https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/): Not authorized , ReasonPhrase:Unauthorized. -> [Help 1]


To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

...
Рейтинг: 0 / 0
Ошибка java.lang.NoClassDefFoundError: org/pentaho/metadata/repository/IMetadataDomainRep
    #38498134
Озверин
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
vadipok,

вы получаете из какого-то стороннего репозитория?
Not authorized , ReasonPhrase:Unauthorized - вас не смущает?
...
Рейтинг: 0 / 0
Ошибка java.lang.NoClassDefFoundError: org/pentaho/metadata/repository/IMetadataDomainRep
    #38498163
vadipok
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Озверинvadipok,

вы получаете из какого-то стороннего репозитория?
Not authorized , ReasonPhrase:Unauthorized - вас не смущает?

Коллега я честно говоря в Яве где-то полтора месяца. Не понимаю вопроса.
Знаю одно, убираю этот dependency и у меня все работает.
...
Рейтинг: 0 / 0
Ошибка java.lang.NoClassDefFoundError: org/pentaho/metadata/repository/IMetadataDomainRep
    #38498166
vadipok
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
vadipok,

кроме выгрузки в Excel.
...
Рейтинг: 0 / 0
Ошибка java.lang.NoClassDefFoundError: org/pentaho/metadata/repository/IMetadataDomainRep
    #38498213
Фотография Blazkowicz
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Странный этот pentaho. Во-первых этих артефактов нет в публичном центральном репозитории Maven.
http://search.maven.org/#search|ga|1|pentaho
И его даже нет в публичном репозитории JBoss.
Во-вторых по-хорешему все dependencies должны иметь внутренние зависимости, и если metadata не хватает, то очень странно, что её пришлось явно указывать.

Попробуйте зарегаться на jboss.org. И прописать логин\пароль в конфиге мавена:
https://community.jboss.org/wiki/MavenRepositoryConfiguration
...
Рейтинг: 0 / 0
Ошибка java.lang.NoClassDefFoundError: org/pentaho/metadata/repository/IMetadataDomainRep
    #38498222
Фотография Blazkowicz
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Ещё мне кажется стоит попробовать прописать репозиторий Pentaho в pom.xml
http://repository.pentaho.org/artifactory/pentaho/
http://repository.pentaho.org/artifactory/webapp/home.html
...
Рейтинг: 0 / 0
Ошибка java.lang.NoClassDefFoundError: org/pentaho/metadata/repository/IMetadataDomainRep
    #38498430
Озверин
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
BlazkowiczЕщё мне кажется стоит попробовать прописать репозиторий Pentaho в pom.xml
http://repository.pentaho.org/artifactory/pentaho/
http://repository.pentaho.org/artifactory/webapp/home.html

я подозреваю, что он прописан, и именно потому возникает ошибка авторизации
...
Рейтинг: 0 / 0
Ошибка java.lang.NoClassDefFoundError: org/pentaho/metadata/repository/IMetadataDomainRep
    #38498433
Озверин
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Озверинvadipok,

вы получаете из какого-то стороннего репозитория?
Not authorized , ReasonPhrase:Unauthorized - вас не смущает?

весь pom.xml выложите пожалуйста
...
Рейтинг: 0 / 0
Ошибка java.lang.NoClassDefFoundError: org/pentaho/metadata/repository/IMetadataDomainRep
    #38498439
Фотография Blazkowicz
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Озвериня подозреваю, что он прописан, и именно потому возникает ошибка авторизации
Ошибка авторизации на JBoss репозитории ведь. Он и прописан. Можно, кстати, не прописывать логин и пароль, а поменять URL репозитория на публичный.
...
Рейтинг: 0 / 0
Ошибка java.lang.NoClassDefFoundError: org/pentaho/metadata/repository/IMetadataDomainRep
    #38498448
vadipok
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
ОзверинОзверинvadipok,

вы получаете из какого-то стороннего репозитория?
Not authorized , ReasonPhrase:Unauthorized - вас не смущает?

весь pom.xml выложите пожалуйста

Код: xml
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
51.
52.
53.
54.
55.
56.
57.
58.
59.
60.
61.
62.
63.
64.
65.
66.
67.
68.
69.
70.
71.
72.
73.
74.
75.
76.
77.
78.
79.
80.
81.
82.
83.
84.
85.
86.
87.
88.
89.
90.
91.
92.
93.
94.
95.
96.
97.
98.
99.
100.
101.
102.
103.
104.
105.
106.
107.
108.
109.
110.
111.
112.
113.
114.
115.
116.
117.
118.
119.
120.
121.
122.
123.
124.
125.
126.
127.
128.
129.
130.
131.
132.
133.
134.
135.
136.
137.
138.
139.
140.
141.
142.
143.
144.
145.
146.
147.
148.
149.
150.
151.
152.
153.
154.
155.
156.
157.
158.
159.
160.
161.
162.
163.
164.
165.
166.
167.
168.
169.
170.
171.
172.
173.
174.
175.
176.
177.
178.
179.
180.
181.
182.
183.
184.
185.
186.
187.
188.
189.
190.
191.
192.
193.
194.
195.
196.
197.
198.
199.
200.
201.
202.
203.
204.
205.
206.
207.
208.
209.
210.
211.
212.
213.
214.
215.
216.
217.
218.
219.
220.
221.
222.
223.
224.
225.
226.
227.
228.
229.
230.
231.
232.
233.
234.
235.
236.
237.
238.
239.
240.
241.
242.
243.
244.
245.
246.
247.
248.
249.
250.
251.
252.
253.
254.
255.
256.
257.
258.
259.
260.
261.
262.
263.
264.
265.
266.
267.
268.
269.
270.
271.
272.
273.
274.
275.
276.
277.
278.
279.
280.
281.
282.
283.
284.
285.
286.
287.
288.
289.
290.
291.
292.
293.
294.
295.
296.
297.
298.
299.
300.
301.
302.
303.
304.
305.
306.
307.
308.
309.
310.
311.
312.
313.
314.
315.
316.
317.
318.
319.
320.
321.
322.
323.
324.
325.
326.
327.
328.
329.
330.
331.
332.
333.
334.
335.
336.
337.
338.
339.
340.
341.
342.
343.
344.
345.
346.
347.
348.
349.
350.
351.
352.
353.
354.
355.
356.
357.
358.
359.
360.
361.
362.
363.
364.
365.
366.
367.
368.
369.
370.
371.
372.
373.
374.
375.
376.
377.
378.
379.
380.
381.
382.
383.
384.
385.
386.
387.
388.
389.
390.
391.
392.
393.
394.
395.
396.
397.
398.
399.
400.
401.
402.
403.
404.
405.
406.
407.
408.
409.
410.
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <artifactId>qms</artifactId>
    <groupId>ru.it.dob</groupId>
    <version>2_3</version>
  </parent>
  <groupId>ru.it.dob.qms</groupId>
  <artifactId>qms-web</artifactId>
  <packaging>war</packaging>
  <version>2_3</version>
  <name>qms-web 2.3</name>
  <url>http://maven.apache.org</url>
  
    
  <repositories>

    <repository>
      <id>java.net-Public</id>
      <name>Maven Java Net Snapshots and Releases</name>
      <url>https://maven.java.net/content/groups/public/</url>
    </repository>
    <repository>
      <url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url>
      <id>RichFaces-maven-lib</id>
      <layout>default</layout>
      <name>Repository for library RichFaces-maven-lib</name>
    </repository>
    <repository>
      <id>repo.pentaho.org</id>
      <name>repo.pentaho.org-releases</name>
      <url>http://repository.pentaho.org/artifactory/pentaho/</url>
    </repository>
    <repository>
      <id>jboss-releases-repository</id>
      <name>JBoss Releases Repository</name>
      <url>https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/</url>
    </repository>
    
  </repositories>
  

  <dependencies>
    
    <dependency>
      <groupId>org.richfaces.core</groupId>
      <artifactId>richfaces-core-impl</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>${project.groupId}</groupId>
      <artifactId>qms-ejb</artifactId>
      <version>${project.version}</version>
    </dependency>
    <dependency>
      <groupId>ru.it.dob.qms</groupId>
      <artifactId>qms-ejb</artifactId>
      <version>2_3</version>
      <type>ejb</type>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>ru.it.dob.qms</groupId>
      <artifactId>qms-jpa-lib</artifactId>
      <version>2_3</version>
      <scope>provided</scope>
    </dependency>



    <!--Вадим менял-->
    <dependency>
      <groupId>pentaho-library</groupId>
      <artifactId>libloader</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-library</groupId>
      <artifactId>libbase</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-reporting-engine</groupId>
      <artifactId>pentaho-reporting-engine-classic-core</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-library</groupId>
      <artifactId>libserializer</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-library</groupId>
      <artifactId>libformula</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-library</groupId>
      <artifactId>libfonts</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-library</groupId>
      <artifactId>libformat</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-library</groupId>
      <artifactId>libdocbundle</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-library</groupId>
      <artifactId>libxml</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-library</groupId>
      <artifactId>librepository</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>org.apache.poi</groupId>
      <artifactId>poi-ooxml</artifactId>
      <version>3.9</version>
    </dependency>
    <dependency>
      <groupId>mysql</groupId>
      <artifactId>mysql-connector-java</artifactId>
      <version>5.1.27</version>
    </dependency>
    <dependency>
      <groupId>commons-logging</groupId>
      <artifactId>commons-logging</artifactId>
      <version>1.1.3</version>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.11</version>
    </dependency>
    <dependency>
      <groupId>com.sun.faces</groupId>
      <artifactId>jsf-api</artifactId>
      <version>2.2.4</version>
    </dependency>
    <dependency>
      <groupId>net.sf.jasperreports</groupId>
      <artifactId>jasperreports</artifactId>
      <version>5.5.0</version>
    </dependency>
    <dependency>
      <groupId>org.richfaces.ui</groupId>
      <artifactId>richfaces-components-ui</artifactId>
      <scope>provided</scope>
      <version>4.3.4.Final</version>
    </dependency>

    <dependency>
      <groupId>javax</groupId>
      <artifactId>javaee-web-api</artifactId>
      <version>7.0</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>com.sun.faces</groupId>
      <artifactId>jsf-impl</artifactId>
      <version>2.2.4</version>
    </dependency>
    <dependency>
      <groupId>pentaho-reporting-engine</groupId>
      <artifactId>pentaho-reporting-engine-wizard-core</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-reporting-engine</groupId>
      <artifactId>pentaho-reporting-engine-legacy-charts</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-reporting-engine</groupId>
      <artifactId>pentaho-reporting-engine-classic-extensions-scripting</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-reporting-engine</groupId>
      <artifactId>pentaho-reporting-engine-classic-extensions-xpath</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-reporting-engine</groupId>
      <artifactId>pentaho-reporting-engine-classic-extensions-toc</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-reporting-engine</groupId>
      <artifactId>pentaho-reporting-engine-classic-extensions-kettle</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-reporting-engine</groupId>
      <artifactId>pentaho-reporting-engine-classic-extensions-mondrian</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-reporting-engine</groupId>
      <artifactId>pentaho-reporting-engine-classic-extensions-olap4j</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-reporting-engine</groupId>
      <artifactId>pentaho-reporting-engine-classic-extensions-drill-down</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-reporting-engine</groupId>
      <artifactId>pentaho-reporting-engine-classic-extensions-reportdesigner-parser</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-reporting-engine</groupId>
      <artifactId>pentaho-reporting-engine-classic-extensions</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-reporting-engine</groupId>
      <artifactId>pentaho-reporting-engine-classic-extensions-pmd</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho</groupId>
      <artifactId>pentaho-metadata</artifactId>
      <version>5.0.2</version>
    </dependency>
    <!--    <dependency>
      <groupId>org.richfaces.core</groupId>
      <artifactId>richfaces-core-api</artifactId>
      <version>4.3.4.Final</version>
    </dependency>-->
    
    <dependency>
      <groupId>pentaho-library</groupId>
      <artifactId>libsparkline</artifactId>
      <version>5.0.2</version>
    </dependency>
    <dependency>
      <groupId>pentaho-reporting-engine</groupId>
      <artifactId>pentaho-reporting-engine-classic-core-platform-plugin-package</artifactId>
      <version>5.0.2</version>
      <type>pom</type>
    </dependency>
    <dependency>
      <groupId>org.jboss.javaee</groupId>
      <artifactId>jboss-javaee</artifactId>
      <version>5.0.1.GA</version>
    </dependency>
    <dependency>
      <groupId>org.pentaho.pentaho-commons</groupId>
      <artifactId>pentaho-package-manager</artifactId>
      <version>1.0.9</version>
    </dependency>
    <dependency>
      <groupId>org.eobjects.datacleaner</groupId>
      <artifactId>DataCleaner-pentaho-job-engine</artifactId>
      <version>3.5.7</version>
    </dependency> 
    
    
  </dependencies>

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>2.0.2</version>
        <configuration>
          <source>1.7</source>
          <target>1.7</target>
          <encoding>${project.build.sourceEncoding}</encoding>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-war-plugin</artifactId>
        <version>2.1-beta-1</version>
        <configuration>
          <failOnMissingWebXml>false</failOnMissingWebXml>
          <webResources>
            <resource>
              <directory>src</directory>
              <targetPath>WEB-INF</targetPath>
              <includes>
                <include>jax-ws-catalog.xml</include>
                <include>wsdl/**</include>
              </includes>
            </resource>
          </webResources>
          <archive>
            <manifestEntries>
              <SCM-Revision>${rev.revision}</SCM-Revision>
            </manifestEntries>
          </archive>          
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-resources-plugin</artifactId>
        <version>2.2</version>
        <configuration>
          <encoding>${project.build.sourceEncoding}</encoding>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.jvnet.jax-ws-commons</groupId>
        <artifactId>jaxws-maven-plugin</artifactId>
        <version>2.2</version>
        <executions>
        </executions>
        <dependencies>
          <dependency>
            <groupId>javax.xml</groupId>
            <artifactId>webservices-api</artifactId>
            <version>1.4</version>
          </dependency>
        </dependencies>
        <configuration>
          <sourceDestDir>${project.build.directory}/generated-sources/jaxws-wsimport</sourceDestDir>
          <xnocompile>true</xnocompile>
          <verbose>true</verbose>
          <extension>true</extension>
          <catalog>${basedir}/src/jax-ws-catalog.xml</catalog>
        </configuration>
      </plugin>
      <plugin>
        <groupId>com.google.code.maven-svn-revision-number-plugin</groupId>
        <artifactId>svn-revision-number-maven-plugin</artifactId>
        <version>1.13</version> <!-- please use the latest version -->
        <executions>
          <execution>
            <goals>
              <goal>revision</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <entries>
            <entry>
              <prefix>rev</prefix>
            </entry>
          </entries>
        </configuration>
      </plugin>
    </plugins>
    <finalName>qms-web</finalName>
  </build>
  <profiles>
    <profile>
      <id>endorsed</id>
      <activation>
        <property>
          <name>sun.boot.class.path</name>
        </property>
      </activation>
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>
            <version>2.0.2</version>
            <configuration>
              <!-- javaee6 contains upgrades of APIs contained within the JDK itself.
              As such these need to be placed on the bootclasspath, rather than classpath of the
              compiler.
              If you don't make use of these new updated API, you can delete the profile.
              On non-SUN jdk, you will need to create a similar profile for your jdk, with the similar property as sun.boot.class.path in Sun's JDK.-->
              <compilerArguments>
                <bootclasspath>${settings.localRepository}/javax/javaee-endorsed-api/6.0/javaee-endorsed-api-6.0.jar${path.separator}${sun.boot.class.path}</bootclasspath>
              </compilerArguments>
            </configuration>
            <dependencies>
              <dependency>
                <groupId>javax</groupId>
                <artifactId>javaee-endorsed-api</artifactId>
                <version>6.0</version>
              </dependency>
            </dependencies>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>

  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <org.richfaces.bom.version>4.3.3.Final</org.richfaces.bom.version>   
  </properties>
  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>org.richfaces</groupId>
        <artifactId>richfaces-bom</artifactId>
        <version>${org.richfaces.bom.version}</version>
        <scope>import</scope>
        <type>pom</type>
      </dependency>
    </dependencies>
  </dependencyManagement>        
</project>

...
Рейтинг: 0 / 0
Ошибка java.lang.NoClassDefFoundError: org/pentaho/metadata/repository/IMetadataDomainRep
    #38498469
Озверин
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
...
Рейтинг: 0 / 0
Ошибка java.lang.NoClassDefFoundError: org/pentaho/metadata/repository/IMetadataDomainRep
    #38498512
vadipok
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Озверинvadipok,

https://community.jboss.org/wiki/MavenRepositoryConfiguration

Я наверное ступил, поправьте плиз.

Создал файла Setting.html со следующим содержимым:
Код: xml
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
<?xml version="1.0" encoding="UTF-8"?>
<!--
    User-specific configuration for maven. Includes things that should not 
    be distributed with the pom.xml file, such as developer identity, along with 
    local settings, like proxy information. The default location for the
    settings file is ~/.m2/settings.xml 
-->
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
  <localRepository>/home/me/.m2/jboss-repository</localRepository>  

  
  <servers>  
    <server>  
      <id>jboss-repo</id>  
      <username>vadipok</username>  
      <password>Vadipok1985</password>  
    </server>  
  </servers>  
  
  <mirrors>  
    <mirror>  
      <id>jboss-developer-group</id>  
      <mirrorOf>*</mirrorOf>  
      <name>JBoss.org Developer Repository Group</name>  
      <url>https://repository.jboss.org/nexus/content/groups/developer/</url>  
    </mirror>  
  </mirrors>  
</settings>



И свалилась ошибка.
...
Рейтинг: 0 / 0
Ошибка java.lang.NoClassDefFoundError: org/pentaho/metadata/repository/IMetadataDomainRep
    #38498518
Фотография Blazkowicz
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
vadipok <username>vadipok</username>
<password>Vadipok1985</password>

Really? Вот так вот просто светим свой аккаунт на форуме? Пароль от почты такой же? :)
...
Рейтинг: 0 / 0
Ошибка java.lang.NoClassDefFoundError: org/pentaho/metadata/repository/IMetadataDomainRep
    #38498520
vadipok
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Blazkowiczvadipok <username>vadipok</username>
<password>Vadipok1985</password>

Really? Вот так вот просто светим свой аккаунт на форуме? Пароль от почты такой же? :)

Нет конечно, я знал, что так спросите. Это логин и пароль на не важные сайты.
...
Рейтинг: 0 / 0
Ошибка java.lang.NoClassDefFoundError: org/pentaho/metadata/repository/IMetadataDomainRep
    #38498535
vadipok
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Теперь ошибка следующего содержания.

[SRC java]------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 1:18.069s
Finished at: Thu Dec 12 15:56:56 YEKT 2013
Final Memory: 8M/240M
------------------------------------------------------------------------
Failed to execute goal on project qms-web: Could not resolve dependencies for project ru.it.dob.qms:qms-web:war:2_3: The
following artifacts could not be resolved: pentaho.kettle:kettle-core:jar:4.1.4-GA, pentaho.kettle:kettle-db:jar:4.0.1-GA,
pentaho.kettle:kettle-engine:jar:4.1.4-GA, pentaho.kettle:kettle-ui-swt:jar:4.0.1-GA, pentaho-library:libloader:jar:5.0.2, pentaho-
library:libbase:jar:5.0.2, pentaho-reporting-engine:pentaho-reporting-engine-classic-core:jar:5.0.2, pentaho-library:libserializer:jar:5.0.2,
pentaho-library:libformula:jar:5.0.2, pentaho-library:libfonts:jar:5.0.2, pentaho-library:libformat:jar:5.0.2, pentaho-
library:libdocbundle:jar:5.0.2, pentaho-library:libxml:jar:5.0.2, pentaho-library:librepository:jar:5.0.2, com.lowagie:itext:jar:2.1.7.js2,
pentaho-reporting-engine:pentaho-reporting-engine-wizard-core:jar:5.0.2, pentaho-reporting-engine:pentaho-reporting-engine-legacy-
charts:jar:5.0.2, pentaho-reporting-engine:pentaho-reporting-engine-classic-extensions-scripting:jar:5.0.2, pentaho-reporting-
engine:pentaho-reporting-engine-classic-extensions-xpath:jar:5.0.2, pentaho-reporting-engine:pentaho-reporting-engine-classic-
extensions-toc:jar:5.0.2, pentaho-reporting-engine:pentaho-reporting-engine-classic-extensions-kettle:jar:5.0.2, pentaho-reporting-
engine:pentaho-reporting-engine-classic-extensions-mondrian:jar:5.0.2, pentaho-reporting-engine:pentaho-reporting-engine-classic-
extensions-olap4j:jar:5.0.2, pentaho-reporting-engine:pentaho-reporting-engine-classic-extensions-drill-down:jar:5.0.2, pentaho-
reporting-engine:pentaho-reporting-engine-classic-extensions-reportdesigner-parser:jar:5.0.2, pentaho-reporting-engine:pentaho-
reporting-engine-classic-extensions:jar:5.0.2, pentaho-reporting-engine:pentaho-reporting-engine-classic-extensions-pmd:jar:5.0.2,
pentaho-library:libsparkline:jar:5.0.2, pentaho-reporting-engine:pentaho-reporting-engine-classic-core-platform-plugin-
package:pom:5.0.2: Could not find artifact pentaho.kettle:kettle-core:jar:4.1.4-GA in jboss-developer-group
( https://repository.jboss.org/nexus/content/groups/developer/) -> [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
...
Рейтинг: 0 / 0
Ошибка java.lang.NoClassDefFoundError: org/pentaho/metadata/repository/IMetadataDomainRep
    #38498568
Озверин
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
vadipok,

я не тонкий знаток maven, но подозреваю, что надо
Добавить в settings.xml что то вроде:

Код: xml
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
<project>
  <repositories>
    <repository>
      <id>jboss-developer-group</id>
      <url>https://repository.jboss.org/nexus/content/groups/developer/</url>
    </repository>
  </repositories>
</project>

<servers>
    <server>
        <id>server001</id>
        <username>my_login</username>
        <password>my_password</password>
    </server>
</servers>



Все репозитории, которые у вас есть в pom.xml и требуют авторизации.
...
Рейтинг: 0 / 0
Ошибка java.lang.NoClassDefFoundError: org/pentaho/metadata/repository/IMetadataDomainRep
    #38498570
Озверин
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
vadipok,

я не тонкий знаток maven, но подозреваю, что надо
Добавить в settings.xml что то вроде:

Код: xml
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
<project>
  <repositories>
    <repository>
      <id>jboss-developer-group</id>
      <url>https://repository.jboss.org/nexus/content/groups/developer/</url>
    </repository>
  </repositories>
</project>

<servers>
    <server>
        <id>jboss-developer-group</id>
        <username>my_login</username>
        <password>my_password</password>
    </server>
</servers>



Все репозитории, которые у вас есть в pom.xml и требуют авторизации
...
Рейтинг: 0 / 0
Ошибка java.lang.NoClassDefFoundError: org/pentaho/metadata/repository/IMetadataDomainRep
    #38498572
Озверин
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
fixed ;)

я не тонкий знаток maven, но подозреваю, что надо
Добавить в settings.xml что то вроде:

Код: xml
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
<project>
  <repositories>
    <repository>
      <id>jboss-developer-group</id>
      <url>https://repository.jboss.org/nexus/content/groups/developer/</url>
    </repository>
  </repositories>
</project>

<servers>
    <server>
        <id>jboss-developer-group</id>
        <username>my_login</username>
        <password>my_password</password>
    </server>
</servers>



Все репозитории, которые у вас есть в pom.xml и требуют авторизации
...
Рейтинг: 0 / 0
Ошибка java.lang.NoClassDefFoundError: org/pentaho/metadata/repository/IMetadataDomainRep
    #38498643
vadipok
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Озверин,

Тут что то не так.
Наверняка можно без регистрации.
http://repo.pentaho.org/artifactory/webapp/home.html здесь я не нашел кнопки для регистрации.
...
Рейтинг: 0 / 0
Ошибка java.lang.NoClassDefFoundError: org/pentaho/metadata/repository/IMetadataDomainRep
    #38498733
Озверин
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
vadipokОзверин,

Тут что то не так.
Наверняка можно без регистрации.
http://repo.pentaho.org/artifactory/webapp/home.html здесь я не нашел кнопки для регистрации.

так для pentaho в settings и не должно быть записей, раз оно не требует авторизации.
...
Рейтинг: 0 / 0
20 сообщений из 20, страница 1 из 1
Форумы / Java [игнор отключен] [закрыт для гостей] / Ошибка java.lang.NoClassDefFoundError: org/pentaho/metadata/repository/IMetadataDomainRep
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]