Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »


JAVA 11 install(JDK)

From Homebrew

download from: JAVA Multi Version 1.8, 11

From official website

download from: https://www.oracle.com/java/technologies/javase-jdk11-downloads.html


Git Install

From Homebrew

write on terminal: brew install git

From official website

https://git-scm.com/download/mac

check version

git --version


Springboot install

From homebrew

Cleanup and upgrade before set up

brew upgrade

brew cleanup

install STS4

brew cask install springtoolsuite

From official website

Go to website: https://spring.io/tools

download: MacOs version for eclipse

Configure JVM version: SpringToolSuite4.ini

open using editor(ex. vscode)

/Applications/SpringToolSuite4.app/Contents/Eclipse/SpringToolSuite4.ini

Java11 version error

When face the error message like failed to create the java virtual machine to run STS4

if use java version 11,

  1. install java 8

2. please attach this code which is java8 path on the top inside SpringToolSuite4.ini

-vm /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin

Heap memory config

please edit max Heap memory as a -Xmx2048m on SpringToolSuite4.ini

Example SpringToolSuite4.ini

-vm 
/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin
-startup
../Eclipse/plugins/org.eclipse.equinox.launcher_1.5.700.v20200207-2156.jar
--launcher.library
../Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.1100.v20190907-0426
-product
org.springframework.boot.ide.branding.sts4
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx2048m
-XX:+UseG1GC
-XX:+UseStringDeduplication
--add-modules=ALL-SYSTEM
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
-Xdock:icon=../Resources/sts4.icns


Project Setting

Download for git repository

Set up workspace path

Click Open Perspective

Select git

click clone a git repository

url: http://dcsf-dev08.i-on.net/dxp/backendcore.git

Write User & Password

Click Next and tick develop

Import Project

Set Directory

The initial branch is develop

Import Project

Select Import Project and finish

Go to Java located in the middle on Right top sidebar.

Add window

  • Gradle Executions

  • Gradle Tasks

Right Click → configure → Add Gradle Nature

Click Refresh Gradle Project

When success to ready to use Gradle, like below

When failing to ready to use Gradle, like below

Server and Profile configuration

if success input all of the gradle dependencies, you can find backend-core on Boot Dashboard(Left side below)

click open config

Main type → Search

Select Backend

main type: net.ion.ice.BackendCoreApplication

profile: default-loc

click Apply

Check Java version JavaSE-11 in Project list

Click Run or Debug on Boot Dashboard to run BackendCore

When you see the error message, click proceed

Run Success!

Initial data load

# 로컬 서버 실행 후 Schema Load 리스트
- local.i-on.net:8080/helper/loadSchema?filePath=projects/{projectName}
- local.i-on.net:8080/helper/loadSchema?filePath={projectName}

  • No labels