osgi

Eclipse RCP AspectJ configure

孤街醉人 提交于 2021-02-18 12:36:12
问题 I am trying to add AspectJ in my Eclipse RCP/RAP application. I did step by step as these guys say: link here (except creating a new platform, I added the libraries by my self in my platform). But the problem is that it is still not working... I get this error: osgi> !SESSION 2012-03-18 02:16:54.354 ----------------------------------------------- eclipse.buildId=unknown java.version=1.7.0_02 java.vendor=Oracle Corporation BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US Command

蚂蚁金服(上海、成都) Java开发工程师大量招人!!!

不想你离开。 提交于 2021-02-17 08:47:48
接触最复杂最有技术挑战的国际支付场景,体验不同文化和金融支付场景和技术解决方案的碰撞。一笔你在香港买星冰乐完成的支付请求,沿着太平洋海底的光缆, 挑战美国机房的IO上限,然后优雅而迅速的展示给你支付的结果,这一切的美好,可能就是产生于某个夜晚你的青轴cherry之上。 如果有一个机会在支付宝账号上充值1000w并花完去验证业务的完整性,何不一起来呢? 蚂蚁金服,国际支付全球开放平台团队,始终站在国际支付的最前沿,而他们此刻,最想要的 —— 就是如他们一样热血的你。 职位信息: 公司: 蚂蚁金服·互联网·蚂蚁金服(杭州)网络技术有限公司 职位名称: Java高级工程师、基础平台研发工程师 职位类型: Java 部门: 蚂蚁金服-国际事业群-国际技术 工作地点: 上海、成都 职位要求: 工作性质: 全职 经验: 3年以上 薪资范围: 20K-40K Java高级工程师 职位描述: 1、主导各类业务及技术改造类项目的系统分析与设计工作,承担核心功能代码编写,开发与维护系统公用核心模块; 2、系统性能优化,主导技术难题攻关,持续提升系统在大规模分布式系统环境下高并发、海量请求数下的高处理性能,解决各类潜在系统技术风险,保证系统的安全、稳定、快速运行; 3、负责指导、培训普通开发工程师,审核开发工程师的设计与研发质量; Java高级工程师 职位要求: 1、扎实的java编程基础,精通Java

ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl cannot be cast to javax.xml.parsers.DocumentBuilderFactory

你离开我真会死。 提交于 2021-02-10 23:16:14
问题 This problem ties in with the many discussions about the Xerces dependency hell, but I can't seem to solve it. I'm trying to export LaTeX code to PDF in Java. My code is part of an OSGI bundle for Cytoscape 3.4 and is managed and built with Maven. The LaTeX library is jlatexmath (1.0.6) and to write to SVG and PDF I want to try the apache fop (0.95) libs. Fop is depending on a whole range of batik libraries, which in turn depend on xml-apis (1.3.04). With xml-apis included, I get this error:

ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl cannot be cast to javax.xml.parsers.DocumentBuilderFactory

两盒软妹~` 提交于 2021-02-10 23:16:09
问题 This problem ties in with the many discussions about the Xerces dependency hell, but I can't seem to solve it. I'm trying to export LaTeX code to PDF in Java. My code is part of an OSGI bundle for Cytoscape 3.4 and is managed and built with Maven. The LaTeX library is jlatexmath (1.0.6) and to write to SVG and PDF I want to try the apache fop (0.95) libs. Fop is depending on a whole range of batik libraries, which in turn depend on xml-apis (1.3.04). With xml-apis included, I get this error:

ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl cannot be cast to javax.xml.parsers.DocumentBuilderFactory

房东的猫 提交于 2021-02-10 23:13:20
问题 This problem ties in with the many discussions about the Xerces dependency hell, but I can't seem to solve it. I'm trying to export LaTeX code to PDF in Java. My code is part of an OSGI bundle for Cytoscape 3.4 and is managed and built with Maven. The LaTeX library is jlatexmath (1.0.6) and to write to SVG and PDF I want to try the apache fop (0.95) libs. Fop is depending on a whole range of batik libraries, which in turn depend on xml-apis (1.3.04). With xml-apis included, I get this error:

ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl cannot be cast to javax.xml.parsers.DocumentBuilderFactory

吃可爱长大的小学妹 提交于 2021-02-10 23:05:31
问题 This problem ties in with the many discussions about the Xerces dependency hell, but I can't seem to solve it. I'm trying to export LaTeX code to PDF in Java. My code is part of an OSGI bundle for Cytoscape 3.4 and is managed and built with Maven. The LaTeX library is jlatexmath (1.0.6) and to write to SVG and PDF I want to try the apache fop (0.95) libs. Fop is depending on a whole range of batik libraries, which in turn depend on xml-apis (1.3.04). With xml-apis included, I get this error:

Multiple references with the same name at maven-bundle-plugin

懵懂的女人 提交于 2021-02-10 18:11:46
问题 I'm using the maven-bundle-plugin 3.3.0 and OSGI R6. I have the following classes: //Class A @Component (immediate = true, service = {}) public class A{ private static B myB; @Reference (unbind = "unbindB") public static void bindB(B pB) { myB = pB; } public static void unbindB() { myB= null; } } //B class. It does not implement any interface. Hence, the service must be itself @Component (immediate = true, service = B.class) public class B{ @Activate public void activate(){ //B activated } }

JavaFx + Felix on windows WinPlatformFactory not found

試著忘記壹切 提交于 2021-02-09 07:01:18
问题 I have a desktop application that uses Apache felix and swing, with embebed javafx UIs, javafx is being loaded into the project by a maven embebed dependency, and it works fine on mac. But when i run it on windows it gives me the following error: java.lang.ClassNotFoundException: com.sun.glass.ui.win.WinPlatformFactory not found by my-software [38] at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1574) at org.apache.felix.framework

How to deploy multiple processes(bundles) in 1 jar onto OSGI felix

拟墨画扇 提交于 2021-02-08 08:51:22
问题 I'm quite new to OSGI framework so I do not how to deploy multiple processes(bundles) in 1 jar onto it. Particularly, I have installed the Apache Felix With Web Console following this link. I have also tried to deploy my jar file and started it as the bundle. The jar's purpose is like a job to process some activities. However, I would like to have multiple jobs in just 1 jar file so that when I deploy that jar on Felix the framework can identifies and presents them as individual parts. For

Maven dependency for LDAP library could not be resolved in OSGi

天大地大妈咪最大 提交于 2021-02-05 09:31:09
问题 I am trying to import import org.apache.commons.pool2.impl.GenericObjectPool; import org.apache.commons.pool2.impl.GenericObjectPoolConfig; import org.apache.directory.ldap.client.api.DefaultLdapConnectionFactory; import org.apache.directory.ldap.client.api.LdapConnection; import org.apache.directory.ldap.client.api.LdapConnectionConfig; import org.apache.directory.ldap.client.api.LdapConnectionPool; import org.apache.directory.ldap.client.api.ValidatingPoolableLdapConnectionFactory; import