Hybris Learning Note: trail+~+preparation

Source: Internet
Author: User

Study Note: https://wiki.hybris.com/display/tr52/Trail+~+Preparation



Installing JDK 1.7 64-bit
Install Eclipse, elipse download site (selecting the Java EE version) eclipse-jee-luna-sr1-win32-x86_64
Increase the memory allocated to the JVM
In your Eclipse.ini file (this is beside the Eclipse executable), replace-xmx512m with-xmx1024m


Select PMD for Eclipse 3 instead
Select PMD for Eclipse 4


After Eclipse imports 12 projects, the red X is everywhere. Platform Error BOOTSTRAP/GENSRC directory does not exist.

After the refresh project, it's a lot better--or maybe you didn't execute the ant all command after ant clean.


Mass compilation error, if you are using the Chinese Windows operating system,

For example, the code in the Platform project is final Currencymodel eurocurrency = createcurrency ("EUR", "scandium"); Compile error String literal is not properly closed by a double-quote

Modify the text file encoding from GBK to UTF-8 in the search Encoding,workspace for Windows-preferences, eclipse.


Mass compilation error, Synax error, annotations is only available if the source level is 1.5 or greater

Workaround: If the JRE set in eclipse now is 1.7, there is an error as above. First change the JRE from preferences to 1.5,rebuild, and then change back to 1.7 without error. Unknown cause:-(



After importing the project Cuppy, error project ' Cuppy ' is missing required source folder: ' gensrc ' cuppy build path build path problem

Workaround:

In Eclipse, select the Cuppy project and perform the ant task Gensource in Ant View,

Then refresh the project to see a lot of Java programs coming out of the GENSRC directory.

Then execute the ant task all.


Issue: 2015.04.18

A large number of cannot is resolved to a type error occurred in Eclipse project

Workaround:

Try to refresh and clean/build your The project in the your IDE after you executed the ant clean all. Refer here
Soil approach: Eclipse Menu Project--Clean all projects


HTTP://LOCALHOST:9001/Admin Account is Admin/nimda


Cuppy site Default account pp/1234 Http://localhost:9001/cuppy and login with username pp and password 1234


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.