전자정부프레임워크 환경구성

crazyoung·2020년 8월 17일
0
post-thumbnail

1. 전자정부프레임워크 환경구성


전자정부프레임워크 설치 가이드

다운로드


톰캣 8.5

https://tomcat.apache.org/download-80.cgi

Java JDK 1.8

https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html

전자정부프레임워크

https://www.egovframe.go.kr/EgovDevEnvRelease_300.jsp?menu=3&submenu=2&leftsub=2

각종 오류


[mac os] "Failed to create the java virtual machine"

참조 https://stackoverflow.com/questions/62647625/not-able-to-run-eclipse-on-macos-big-sur

Info.plist 파일에 -vm 값을 추가한다.

  1. 이클립스 설치
  2. Eclipse.app (독에서 이클립스 아이콘) 우클릭
  3. 옵션 > Finder에서 보기 클릭
  4. Info.plist 파일을 아톰같은 코드에디터로 열기 (파일 우클릭 > 다음으로 열기 > 코드에디터 아무거나(비주얼 스튜디오 코드 나 아톰) 선택)
  5. -vm/Library/Java/JavaVirtualMachines/jdk1.8.0_261.jdk/Contents/Home/bin/java 를 Eclipse 키 아래에 추가.

    경로는 설치한 자바(jdk) 의 경로로 할것.
    You can see the list by running /usr/libexec/java_home -V

수정된 xml 코드

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<plist version="1.0">

  <dict>

    <key>CFBundleExecutable</key>

    <string>eclipse</string>

    <key>CFBundleGetInfoString</key>

    <string>Eclipse 4.14 for Mac OS X, Copyright IBM Corp. and others 2002, 2019. All rights reserved.</string>

    <key>CFBundleIconFile</key>

    <string>Eclipse.icns</string>

    <key>CFBundleIdentifier</key>

    <string>org.eclipse.platform.ide</string>

    <key>CFBundleInfoDictionaryVersion</key>

    <string>6.0</string>

    <key>CFBundleName</key>

    <string>Eclipse</string>

    <key>CFBundlePackageType</key>

    <string>APPL</string>

    <key>CFBundleShortVersionString</key>

    <string>4.14.0</string>

    <key>CFBundleSignature</key>

    <string>????</string>

    <key>CFBundleVersion</key>

    <string>4.14.0.I20191210-0610</string>

    <key>NSHighResolutionCapable</key>

    <true/>

    <key>CFBundleDevelopmentRegion</key>

    <string>English</string>


    <key>Eclipse</key>

    <array>

      <!-- to use a specific Java version (instead of the platform's default) uncomment one of the following options,
					or add a VM found via $/usr/libexec/java_home -V
				<string>-vm</string><string>/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Commands/java</string>
				<string>-vm</string><string>/Library/Java/JavaVirtualMachines/1.8.0.jdk/Contents/Home/bin/java</string>
			-->
      <string>-vm</string>
      <string>/Library/Java/JavaVirtualMachines/jdk1.8.0_261.jdk/Contents/Home/bin/java</string>			
      <string>-keyring</string>
      <string>~/.eclipse_keyring</string>

    </array>

    <key>CFBundleDisplayName</key>
    <string>Eclipse</string>
  </dict>

</plist>
profile
메모장

0개의 댓글