Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

ningsia
ningsia
Offline

Badges

Badges
5

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
0

Posts

Posts
7

Discussions

Discussions
0

Questions

Questions
7

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by ningsia
Customize the badges you want to showcase on your profile
PDF is not available - Adobe Experience Manager 15-10-2015
In AEM document page "download PDF" link broken.For example: http://docs.adobe.com/content/docs/en/aem/6-0/develop/components.pdfOpen this pdf from page http://docs.adobe.com/docs/en/aem/6-0/develop/components.htmlthe PDF cannot be downloaded. it throw 500 error.

Views

352

Likes

0

Replies

1
Re: Cannot run bundle compiled by Java 7/8? - Adobe Experience Manager 15-10-2015
here is my system info: Java Information:Java RuntimeJava(TM) SE Runtime Environment(build 1.8.0_31-b13)Java Virtual MachineJava HotSpot(TM) 64-Bit Server VM(build 25.31-b07, mixed mode)Number of Processors4Total Memory1270272Used Memory485214Free Memory785058

Views

536

Likes

0

Replies

0
Re: Cannot run bundle compiled by Java 7/8? - Adobe Experience Manager 15-10-2015
do you have any clue?

Views

439

Likes

0

Replies

0
Re: Cannot run bundle compiled by Java 7/8? - Adobe Experience Manager 15-10-2015
the page_iwb is the jsp page override default page.jsp. I putted it to foundation/components/primary/cq/page.I use it to handle url ends with .iwb. here is code of the page:<%@include file="/libs/foundation/global.jsp"%><%@page session="false" contentType="application/json" import="com.day.cq.commons.Doctype, com.day.cq.wcm.api.WCMMode, com.day.cq.wcm.foundation.ELEvaluator, com.*.*" %><%%><% com.*.IwbPackageService packageService = sling.getService(com.*.IwbPackageService.class); String jsonDat...

Views

439

Likes

0

Replies

0
Re: Cannot run bundle compiled by Java 7/8? - Adobe Experience Manager 15-10-2015
I'm using intellij 14. and the project structure has been set to 1.8. jdk is 1.8.everything is fine if i remove source/target config from mavn plugins node. if i set to 1.7 or 1.8. build successful. but cannot use the osgi service at all.here is more information:java.lang.NullPointerException at org.apache.jsp.apps.foundation.components.primary.cq.Page.Page_iwb_jsp._jspService(Page_iwb_jsp.java:153) at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at java...

Views

437

Likes

0

Replies

0
Re: Cannot run bundle compiled by Java 7/8? - Adobe Experience Manager 15-10-2015
I clal the sling.getService in one jsp page. The OSGi bundle jar I uploaded from console page. it's actived and it can see service class name in it. without problem.i defined maven complier plugin in bundle's pom.xml file as following lines: maven-compiler-plugin3.21.81.8When I use 1.8 to build jar. and upload it by console page. the jsp file shows errors. After I changed source and target to 1.6 or just remove complier plugin. the jar I build works fine with same jsp file.the issue happens on d...

Views

438

Likes

0

Replies

0
Cannot run bundle compiled by Java 7/8? - Adobe Experience Manager 15-10-2015
I hava aem 6.0 SP1 installed. as said in release note. it supports java JRE 8.Now I have made a bunlde for one service by maven and intellij. when I use java 8 syntax to make the service and set maven-compiler-plugin to both source and target to 1.8.The bundle can be deployed in console without problem. but the service in it cannot be called by jsp page. when I tried to call by sling.getService. it returned null. and in the error message:org.apache.sling.api.scripting.ScriptEvaluationException: ...

Views

1.2K

Likes

0

Replies

10